Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-18895] Refined fix to not cache status during the build.
Originally-Committed-As: 8d46aa6d976f5b0d89a4ad4969d455cd3a4add5c
  • Loading branch information
jglick committed Jul 29, 2013
1 parent 5823a89 commit 22a0171
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/hudson/maven/MavenModuleSetBuild.java
Expand Up @@ -193,6 +193,9 @@ public EnvVars getEnvironment(TaskListener log) throws IOException, InterruptedE
*/
@Override
public Result getResult() {
if (isBuilding()) {
return super.getResult();
}
synchronized (notifyModuleBuildLock) {
if (effectiveResult != null) {
return effectiveResult;
Expand Down

0 comments on commit 22a0171

Please sign in to comment.