I'm a bit confused as to how to pass parameters to triggered jobs.
The snippet generator says I can pass a list of ParameterValues, but I'm
really unfamiliar with the internals of jenkins so I'm not sure how I can
pass this list.
I assume this is what the list should look like:
ArrayList<ParameterValue> parameters=new ArrayList<ParameterValue>();
parameters.add(new hudson.model.StringParameterValue('PARAM','123'));
However I'm checking the constructor of the build step and there is no such
parameter to pass through.
How do I use the setter before the build is executed?
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/873da203-e57d-4e0c-a2f8-7c83bffe3ff2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.