prod-artifact-when-good #34

Merged
bucky merged 9 commits from prod-artifact-when-good into master 2023-10-23 15:54:28 -07:00
Showing only changes of commit 5cd296cb70 - Show all commits
Vendored
+5 -5
View File
@@ -70,12 +70,12 @@ pipeline {
} }
} }
stage('Build production deliverable') { stage('Build production deliverable') {
steps { when {
when { expression {
expression { buildArtifact
buildArtifact
}
} }
}
steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' #!/usr/local/bin/bash sh ''' #!/usr/local/bin/bash
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz" ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz"