Jenkins Remote Access

19 views
Skip to first unread message

Alex Brodov

unread,
Jun 10, 2015, 10:11:24 AM6/10/15
to jenkins...@googlegroups.com
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:
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

Khai Do

unread,
Jul 15, 2015, 1:32:16 AM7/15/15
to jenkins...@googlegroups.com
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.  
Reply all
Reply to author
Forward
0 new messages