see if we can access the buildResult status to use it
This commit is contained in:
Vendored
+1
@@ -61,6 +61,7 @@ pipeline {
|
||||
}
|
||||
stage('Build production deliverable') {
|
||||
steps {
|
||||
echo "BUILD RESULT: ${buildResult}"
|
||||
when { equals expected: 'SUCCESS', actual: buildResult }
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh ''' #!/usr/local/bin/bash
|
||||
|
||||
Reference in New Issue
Block a user