Skip to content

Commit

Permalink
Merge pull request #175 from steven-foster/JENKINS-47366
Browse files Browse the repository at this point in the history
[JENKINS-47366] Avoid reporting premature build status
  • Loading branch information
stephenc committed May 10, 2018
2 parents c088f0b + beb565f commit 23480ac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -213,7 +213,7 @@ public String getDefaultMessage(TaskListener listener) {
* @since TODO
*/
public GHCommitState getDefaultState(TaskListener listener) {
if (null != build) {
if (null != build && !build.isBuilding()) {
Result result = build.getResult();
if (Result.SUCCESS.equals(result)) {
return GHCommitState.SUCCESS;
Expand Down

0 comments on commit 23480ac

Please sign in to comment.