Skip to content

Commit

Permalink
Merge pull request #151 from rodrigc/JENKINS-27718
Browse files Browse the repository at this point in the history
[JENKINS-27718] Override ParameterValue.buildEnvironment()
  • Loading branch information
recena committed Dec 30, 2015
2 parents 9101392 + e41bc73 commit 05aa7fc
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -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;
Expand All @@ -51,7 +52,7 @@ public ListSubversionTagsParameterValue(String name, String tagsDir, String tag)
}

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

Expand Down

0 comments on commit 05aa7fc

Please sign in to comment.