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.