Commit e61b8922 authored by MOREY Thibault's avatar MOREY Thibault
Browse files

Update Jenkinsfile

parent a6016a3d
......@@ -32,13 +32,14 @@ node{
sleep 1
DOCKER_GATEWAY=$(docker network inspect bridge --format "{{range .IPAM.Config}}{{.Gateway}}{{end}}")
wget -qO clair-scanner && chmod +x clair-scanner
./clair-scanner --ip="$DOCKER_GATEWAY" debian:buster || exit 0
docker stop db
docker stop clair
docker rm db
docker rm clair
./clair-scanner --ip="" debian:buster || exit 0
stage('Delete moi tous la dedans jveux plus rien reconnaitre'){
sh 'docker stop db'
sh 'docker stop clair'
sh 'docker rm db'
sh 'docker rm clair'
stage('Push on repo nexus')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment