diff --git a/Jenkinsfile b/Jenkinsfile index 4e2a8d1086028667e10573bcda271bac68baf04c..2da38c2362c570a34d572594719bdcf2ebe393ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 - } - } + }