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