Issue Type: Improvement Improvement
Assignee: Unassigned
Components: www
Created: 05/Jan/13 5:27 PM
Description:

When using the REST API to programatically trigger a build, there is no way to atomically retrieve the number of the build which has been triggered (except by using plugins or workarounds). This would enable REST clients to work with the triggered build, for example waiting for the build to finish and retrieve the results, when there is a possibility that multiple clients can trigger the build at the same time.

Current status:
POST request to the https://[...]/job/[job name]/build url will trigger a build and return a html page of the job overview.

Proposed solution:
Add a parameter to the request that will return a text response with the number of the triggered build instead of a html page.

Project: Jenkins
Priority: Minor Minor
Reporter: Jakub Senko
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to