Skip to content

Commit

Permalink
added fail flag and failFast true to gracious gracious build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jul 3, 2024
1 parent 9b7f62b commit 0ad6496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pipeline {
}

stage('3. Build System') {
failFast true
matrix {
agent { label NodeName[machine].toLowerCase() }
//options {
Expand Down Expand Up @@ -156,6 +157,7 @@ pipeline {
} catch (Exception error_comment) {
echo "Failed to comment on PR: ${error_comment.getMessage()}"
}
STATUS = 'Failed'
error("Failed to build system on ${Machine}")
}
}
Expand Down

0 comments on commit 0ad6496

Please sign in to comment.