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

Update Jenkinsfile

parent a20088fd
......@@ -33,6 +33,10 @@ node{
DOCKER_GATEWAY=$(docker network inspect bridge --format "{{range .IPAM.Config}}{{.Gateway}}{{end}}")
wget -qO clair-scanner https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 && 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
'''
}
......
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