Skip to content

Commit

Permalink
Fix build status on unexpected failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dlujic committed Oct 14, 2019
1 parent 4eed8ff commit 7bb490e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath workspace, @Nonnul
}
} catch (Exception e) {
e.printStackTrace(listener.fatalError("execution failed"));
run.setResult(Result.FAILURE);
}
} else {
logger.println("No TestSuite file given");
Expand Down

0 comments on commit 7bb490e

Please sign in to comment.