Skip to content
Permalink
Browse files

Merge pull request #175 from steven-foster/JENKINS-47366

[JENKINS-47366] Avoid reporting premature build status
  • Loading branch information...
stephenc committed May 10, 2018
2 parents c088f0b + beb565f commit 23480ace348f5515e227e507d5aeeda46fc93c89
@@ -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;

0 comments on commit 23480ac

Please sign in to comment.
You can’t perform that action at this time.