moved trigger build to stage

This commit is contained in:
Roberto Cirillo 2023-10-06 14:40:43 +02:00
parent a9c7b7b4cf
commit 9e3597f9f1
1 changed files with 7 additions and 12 deletions

View File

@ -41,17 +41,12 @@ pipeline {
}
}
}
// post-build actions
post {
success {
echo 'The pipeline worked!'
steps {
script {
build(job: 'is-registry-service-image', wait: false, propagate: false);
}
}
}
stage('trigger IS-registry image job') {
steps {
script {
build(job: 'is-registry-service-image', wait: false, propagate: false);
}
}
}
}
}