Eric, this sounds like a bug, not a feature missing (or are they the same 
thing ? ;), worth opening a ticket for? 

On Thursday, September 10, 2015 at 10:12:43 PM UTC+10, Eric Engel wrote:
>
> 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/864e409e-0535-415e-a5c8-0753262e3b9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to