Example:
I triggered a job through http request, url is 'http://localhost:8080/jenkins/job/abc/build'.
Then I want get the current buildId. Now I must create other request for that.
So, maybe Jenkins can return 'buildId' in reponse object. Such as, put 'buildId' into http header.
- duplicates
-
JENKINS-12827 api should return the build number that was queued.
- Resolved