Commit 06360f22 authored by Thibault's avatar Thibault
Browse files

correction d'erreur

parent e8019034
node{
def app
def registryProject='http://172.20.0.2:8083/repository/RegistryDocker/'
def image="${registryProject}:version-${env.BUILD_ID}"
stage('Clone') {
checkout scm
......@@ -20,7 +23,6 @@ node{
sh 'docker ps'
}
}
stage('Scan Dockle'){
sh 'dockle debian:buster > rapportDockle'
}
......@@ -33,8 +35,8 @@ node{
}
stage('Push on repo nexus'){
docker.withRegistry('http://172.20.0.2:8083/repository/RegistryDocker/','Jenkins-credential'){
app.push()
docker.withRegistry(registryProject,''){
app.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