mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
[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:
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user