see if we can access the buildResult status to use it
parent
35583e404e
commit
958091e000
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue