Re: Synchronous REST API call to execute a job

2015-08-25 Thread Alan Evangelista
On 08/25/2015 05:31 AM, Daniel Beck wrote: On 25.08.2015, at 09:26, Alan Evangelista wrote: I tried to use the idea proposed in https://issues.jenkins-ci.org/browse/JENKINS-12827 , but Location header in HTTP response always point to job URL Did you follow the instructions on /job//api to

Re: Synchronous REST API call to execute a job

2015-08-25 Thread Daniel Beck
On 25.08.2015, at 09:26, Alan Evangelista wrote: > I tried to use the idea proposed in > https://issues.jenkins-ci.org/browse/JENKINS-12827 , but Location header in > HTTP response always point to job URL Did you follow the instructions on /job//api to start the build? There are other sugges

Synchronous REST API call to execute a job

2015-08-25 Thread Alan Evangelista
Hi. I am trying to create a synchronous REST API call to execute a job. I was able to submit a job using the Jenkins REST API, but I am not able to get the build ID so I can query if the build completed and was successful. I am aware that the build ID is not obvious, as there may be no idle