Hi Eric,

You can just pass a map and all the parameters of the flow are defined in a 
variable "params"
    build(params, "jobname")

/James


> -----Original Message-----
> From: [email protected] [mailto:jenkinsci-
> [email protected]] On Behalf Of Eric Engel
> Sent: 12 September 2014 10:53
> To: '[email protected]'
> Subject: Let Build Flow Plugin pass all parent parameters
> 
> Hello Jenkins Users,
> 
> I am using the Build Flow Plugin https://wiki.jenkins-
> ci.org/display/JENKINS/Build+Flow+Plugin and want to start a build using all
> paramters of the parent job stored at the pre-defined params variable.
> At the plugin page the following example for a single parameter is given:
> 
> build("job1", parent_param1: params["param1"])
> 
> what I want is kind of:
> 
> build("job1", $parameterName:params[$parameterName])
> 
> So that all values in params are passed to the new job. From the plugin
> description it is not clear if this can be done without explicitly writing 
> down all
> parameters. It would be great if this is possible, because there may be
> changes in parameters I do not want to adjust manually every time.
> 
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to