[HUDSON-5925] Moved nulling out of buildEnvironments to cleanUp, so that node variables are available to Publishers.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34814 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
abayer committed 2010-09-15 16:14:18 +00:00
1 parent 17ee8d29cc
commit c2314a9087
3 files changed
+3 -3

No files matched your search

@@ -479,7 +479,6 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
failed=true;
}
}
buildEnvironments = null;
// WARNING The return in the finally clause will trump any return before
if (failed) return Result.FAILURE;
}
@@ -612,6 +611,7 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
// too late to set the build result at this point. so ignore failures.
performAllBuildSteps(listener, project.getPublishers(), false);
performAllBuildSteps(listener, project.getProperties(), false);
buildEnvironments = null;
}
}