Commit d5209f4b authored by Thibault's avatar Thibault
Browse files

modification pour un Jenkins installé sur l'hote

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