Skip to content

Commit

Permalink
[JENKINS-25406] Still a bug somewhere, but downgrade to a warning in …
Browse files Browse the repository at this point in the history
…the log until it can be diagnosed and fixed properly.
  • Loading branch information
jglick committed Apr 10, 2015
1 parent be6e61a commit 9ff0c92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/hudson/maven/MavenBuild.java
Expand Up @@ -495,6 +495,10 @@ void performArchiving(Launcher launcher, BuildListener listener) throws IOExcept
}

public void setResult(Result result) {
if (!isBuilding()) {
LOGGER.log(Level.WARNING, "JENKINS-25406: illegal attempt to change result from {0} to {1} after {2} finished building", new Object[] {getResult(), result, MavenBuild.this});
return;
}
MavenBuild.this.setResult(result);
}

Expand Down

0 comments on commit 9ff0c92

Please sign in to comment.