Skip to content

Commit

Permalink
Test failFast option
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanga5 committed Jul 20, 2021
1 parent a904280 commit 138e9f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jenkins/Jenkinsfile-blossom.premerge
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ pipeline {
}
}

failFast true
parallel {
stage('Integration Test') {
options {
Expand All @@ -183,7 +184,7 @@ pipeline {
// TODO: improve resource management
timeout(time: 4, unit: 'HOURS') { // step only timeout for test run
// sh "$PREMERGE_SCRIPT"
sh "printenv"
sh "sleep 60"
sh "exit 1"
step([$class : 'JacocoPublisher',
execPattern : '**/target/jacoco.exec',
Expand Down Expand Up @@ -219,7 +220,7 @@ pipeline {
// TODO: improve resource management
timeout(time: 2, unit: 'HOURS') { // step only timeout for test run
// sh "$JENKINS_ROOT/spark-premerge-build-ut.sh"
sh "printenv"
sh "cat /proc/meminfo"
sh "exit 1"
}
}
Expand Down

0 comments on commit 138e9f6

Please sign in to comment.