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.

Reply via email to