see if we can access the buildResult status to use it

pull/34/head
Adam Townsend 2023-10-23 11:32:02 -07:00
parent 35583e404e
commit 958091e000
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -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