prod-artifact-when-good #34
Vendored
+1
@@ -61,6 +61,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Build production deliverable') {
|
stage('Build production deliverable') {
|
||||||
steps {
|
steps {
|
||||||
|
echo "BUILD RESULT: ${buildResult}"
|
||||||
when { equals expected: 'SUCCESS', actual: 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
|
||||||
|
|||||||
Reference in New Issue
Block a user