prod-artifact-when-good #34
Vendored
+5
-5
@@ -70,12 +70,12 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Build production deliverable') {
|
||||
steps {
|
||||
when {
|
||||
expression {
|
||||
buildArtifact
|
||||
}
|
||||
when {
|
||||
expression {
|
||||
buildArtifact
|
||||
}
|
||||
}
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh ''' #!/usr/local/bin/bash
|
||||
ZIP_FILE="url-shortener_${BRANCH_NAME}_$(date "+%Y-%m-%d_%H-%M-%S").tgz"
|
||||
|
||||
Reference in New Issue
Block a user