Commit 0bb2a5ec authored by Thibault's avatar Thibault
Browse files

modif clair scanner

parent e54af3b8
node{
def app
def registryProject='http://172.17.0.1:8083/repository/RegistryDocker/'
def image="${registryProject}:version-${env.BUILD_ID}"
//def image="${registryProject}:version-${env.BUILD_ID}"
//Clonage du projet gitlab gitlab
stage('Clone') {
......@@ -34,7 +34,7 @@ node{
//Scan clair (permet de détecter les cve)
stage('Scan Clair'){
sh '''
./clair-scanner --report="rapportClair" --ip="172.20.0.4" debian:buster
./clair-scanner --report="rapportClair" --ip="172.17.0.1" debian:buster
'''
}
......
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