Skip to content

Commit

Permalink
Different test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Mar 20, 2020
1 parent 9c21f71 commit 8096d08
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ kibanaLibrary.load()
kibanaPipeline(timeoutMinutes: 135, checkPrChanges: true) {
githubPr.withDefaultPrComments {
catchError {
for (def i = 0; i < 10; i ++) {
catchError {
error "Testing error #${i}"
node('linux && immutable') {
for (def i = 0; i < 10; i ++) {
catchError {
sh(script: "date; exit 1", label: "Test Script #${i+1}")
}
}
}
error "Fail the build"
Expand Down

0 comments on commit 8096d08

Please sign in to comment.