Commit fd5da440 authored by Thibault's avatar Thibault
Browse files

essai clair scanner

parent 937e3408
......@@ -26,17 +26,10 @@ node{
}
stage('Scan Clair'){
sh
'''
wget -qO clair-scanner https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 && chmod +x clair-scanner
sh '''
./clair-scanner --report="rapportClair" --ip="172.20.0.4" --clair="http://172.20.0.6:6060" debian:buster || exit 0
'''
}
stage('Push on repo nexus'){
docker.withRegistry(registryProject,'reg2'){
img.push 'latest'
img.push
}
}
}
Markdown is supported
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