Hi,

I have this scenario:

Job X with default Parameters A=1, B=2 and C=3. Workflow Job Y calls Job X with 
a build step:

>build job: 'X', propagate: false, parameters: [new 
>hudson.model.StringParameterValue('A', '2'), new 
>hudson.model.StringParameterValue('B', '3')]

What happens: Job X is called only with parameters A and B. Parameter C is 
missing. The job fails.
What I expect: Job X is called with parameter A and B. Parameter C 
automatically gets the default value.

Is there a flag or other easy way to keep default parameters if no parameter is 
given by the build step?
Ideally I do not want to include all the default parameters into the workflow 
script.

Regards
Eric

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/DDB06868916F0342A722619DC460E97B8E4D31DF%40exch-bln01.
For more options, visit https://groups.google.com/d/optout.

Reply via email to