Commit 503cb3c7 authored by Dmitri Konstantinov's avatar Dmitri Konstantinov
Browse files

Update Jenkinsfile-release throw an error and stop pipeline if there was failure at previous stage.

parent 48c0a2c6
Pipeline #3195351 passed with stage
in 7 minutes and 12 seconds
......@@ -122,6 +122,9 @@ pipeline {
params.LABEL =~ 'centos|slc' }
}
steps {
if ( currentBuild.result == 'FAILURE') {
err('build failure happened on a previous stage, baing out....')
}
script {
lcg.createRPMS()
}
......
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