Publish docker images even if the build fails
This makes sure we have (partial) image lists in the publish dir, even if some images failed to build. Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: I1ffe33ac305d617dfca84fed2dad55322cfe5b47
This commit is contained in:
parent
9aab4bf431
commit
cfb8429646
|
@ -286,7 +286,6 @@ pipeline {
|
|||
when { expression { ! IMAGES_FAILED && params.BUILD_DOCKER_IMAGES } }
|
||||
steps { script {
|
||||
runImagesPart ("build-docker-images")
|
||||
runImagesPart ("publish-docker-images")
|
||||
} }
|
||||
}
|
||||
stage('IMAGES:helm') {
|
||||
|
|
|
@ -61,6 +61,7 @@ pipeline {
|
|||
always {
|
||||
notAborted {
|
||||
sh ("${Constants.SCRIPTS_DIR}/archive-docker-images.sh")
|
||||
sh ("${Constants.SCRIPTS_DIR}/publish-docker-images.sh")
|
||||
}
|
||||
}
|
||||
cleanup {
|
||||
|
|
Loading…
Reference in New Issue