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 executors and build could be added to the build queue. 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 (eg http://<jenkins_server>/job/<job_name>). I am using jenkins 1.6.2.0. Is this a known bug or I am doing something wrong?


Regards,
Alan Evangelista

--
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/55DC18BD.40108%40linux.vnet.ibm.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to