Skip to content
Permalink
Browse files

[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 22a0171e4720d353be9975791c73b80306ffeefc
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/hudson/maven/MavenModuleSetBuild.java
@@ -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;

0 comments on commit 22a0171

Please sign in to comment.