Hi everyone -

I found the following on the build-pipeline plugin comments:

import hudson.model.AbstractBuild
import hudson.model.ParametersAction
import hudson.model.StringParameterValue

def currentBuild = Thread.currentThread().executable;
def newParamAction = new ParametersAction(new 
StringParameterValue("MY_PIPELINE_IDENTIFIER","77"));
currentBuild.addAction(newParamAction);

The only problem is it doesn't appear to work in new versions of Jenkins. 
 Has the api changed?  Anyone have something that does something similar?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to