We use the python-jenkins (https://pypi.python.org/pypi/python-jenkins) 
library to automate our builds.  It can do what you want and it's a lot 
easier than using the REST APIs directly.  Take a look at the example and 
build_job() method.  

On Wednesday, June 10, 2015 at 7:11:24 AM UTC-7, Alex Brodov wrote:
>
> Hi, 
> I'm using Jenkins RESP API, to build Parameterized jobs, for example i 
> have "jobA" and a string paramter "PARAM_A", and also an Authentication 
> Token defined to be "build".
> So i'm exeuting this command via a bash script:
> wget 
> http://JENKINS_URL/job/jobA/buildWithParameters?token=build&PARAM_A=test
> The build is being executed , but the "PARAM_A" is not getting the value 
> that i'm passing via rest api.
>
> Any idea how to solve it ?
>
> Thanks, 
> Alex
>

-- 
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/0ecbdfe4-450e-4645-892f-eb6f73480ee1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to