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 de3dcc48ab - Show all commits
Vendored
-2
View File
@@ -62,7 +62,6 @@ pipeline {
stage('Build production deliverable') { stage('Build production deliverable') {
steps { steps {
echo "BUILD RESULT: ${buildResult}" echo "BUILD RESULT: ${buildResult}"
when { equals expected: 'SUCCESS', actual: buildResult }
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"
@@ -87,7 +86,6 @@ pipeline {
stage('Clean up deliverable') { stage('Clean up deliverable') {
steps { steps {
sh 'rm -rf /tmp/url-shortener' sh 'rm -rf /tmp/url-shortener'
sh 'rm -rf *.tgz'
} }
} }
} }