Skip to content
Snippets Groups Projects
Commit 937e3408 authored by Thibault's avatar Thibault
Browse files

Clair scann modif

parent d17da0b2
No related branches found
No related tags found
No related merge requests found
...@@ -26,10 +26,11 @@ node{ ...@@ -26,10 +26,11 @@ node{
} }
stage('Scan Clair'){ stage('Scan Clair'){
sh ''' sh
wget -qO clair-scanner https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 && chmod +x clair-scanner '''
./clair-scanner --report="rapportClair" --ip="172.20.0.4" --clair="http://172.20.0.6:6060" debian:buster || exit 0 wget -qO clair-scanner https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 && chmod +x clair-scanner
''' ./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'){ stage('Push on repo nexus'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment