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:
Davlet Panech 2022-08-31 10:06:09 -04:00
parent 9aab4bf431
commit cfb8429646
2 changed files with 1 additions and 1 deletions

View File

@ -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') {

View File

@ -61,6 +61,7 @@ pipeline {
always {
notAborted {
sh ("${Constants.SCRIPTS_DIR}/archive-docker-images.sh")
sh ("${Constants.SCRIPTS_DIR}/publish-docker-images.sh")
}
}
cleanup {