Skip to content
Browse files

[JENKINS-27718] Override ParameterValue.buildEnvironment()

ParameterValue.buildEnvVars() was deprecated.  This fix is needed
for the workflow plugin.
  • Loading branch information
rodrigc committed Dec 28, 2015
1 parent dd63407 commit e41bc73b66951f21e16dd962888820b1b14b027f
@@ -28,6 +28,7 @@
import hudson.EnvVars;
import hudson.model.AbstractBuild;
import hudson.model.ParameterValue;
import hudson.model.Run;
import hudson.util.VariableResolver;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.export.Exported;
@@ -51,7 +52,7 @@ public ListSubversionTagsParameterValue(String name, String tagsDir, String tag)

public void buildEnvVars(AbstractBuild<?,?> build, EnvVars env) {
public void buildEnvironment(Run<?,?> build, EnvVars env) {
env.put(getName(), getTag());

0 comments on commit e41bc73

Please sign in to comment.
You can’t perform that action at this time.