Skip to content

Commit

Permalink
tring to use catchError block over the buid stage instead
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jul 3, 2024
1 parent d9b8e2f commit 9b7f62b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ pipeline {
}
stages {
stage('build system') {
failFast false
steps {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
script {
def HOMEgfs = "${CUSTOM_WORKSPACE}/${system}" // local HOMEgfs is used to build the system on per system basis under the custome workspace for each buile system
sh(script: "mkdir -p ${HOMEgfs}")
Expand Down Expand Up @@ -175,6 +175,7 @@ pipeline {
}
}
}
}
}
}
}
Expand Down

0 comments on commit 9b7f62b

Please sign in to comment.