Skip to content

Commit

Permalink
[JENKINS-18895] Refined fix to not cache status during the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jul 29, 2013
1 parent d1d5248 commit 8d46aa6
Showing 1 changed file with 3 additions and 0 deletions.
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 8d46aa6

Please sign in to comment.