Could probably be done with a Pipeline: Get the parameter, tokenize, then call 
build(…) a bunch of times in a (C-style) loop.

> On 09.12.2016, at 15:54, Bryce Pepper <[email protected]> wrote:
> 
> I would like to start a new jenkins job for each word passed in a parameter.
> 
> I could use a post
> 
> for eachWord in ${inputParameter//,/ }; do
> {
>   curl -X POST --silent --show-error --user user:token \
>         
> $JENKINS_URL/job/testJob/buildWithParameters?inputParameter=${eachWord}
> }
> done
> 
> but I was hoping for a way to passthru the credentials of the user running 
> the parent job.
> 
> 
> 
> -- 
> 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/fc26224b-2936-4135-ae10-9326e77c01cf%40googlegroups.com.
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BE2FFC6A-BB71-46EB-A82D-B07E6C4446C4%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to