mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
[HUDSON-3687] return hudson.model.Environment from setUp so subclasses are not
required to extend the Environment inner class. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20569 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
574b3d4961
commit
d7442cd4f6
1 file changed
+1
-1
@@ -125,7 +125,7 @@ public abstract class BuildWrapper implements ExtensionPoint, Describable<BuildW
|
||||
* and reports a nice error message.
|
||||
* @since 1.150
|
||||
*/
|
||||
public Environment setUp( AbstractBuild build, Launcher launcher, BuildListener listener ) throws IOException, InterruptedException {
|
||||
public hudson.model.Environment setUp( AbstractBuild build, Launcher launcher, BuildListener listener ) throws IOException, InterruptedException {
|
||||
if (build instanceof Build)
|
||||
return setUp((Build)build,launcher,listener);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user