I second this. It would be really nice to see the actual build number created in the response somewhere when using the api build and buildWithParameters calls. We can try to figure it out based on the nextBuildNumber, plus parsing through the queue/api/xml output, but it is not guaranteed.
- is duplicated by
-
JENKINS-4538 Returning build number when performing a remoteAPI build action
-
- Resolved
-
-
JENKINS-5189 When you trigger a task there is no page for it until the task starts to build
-
- Resolved
-
-
JENKINS-16263 Return the number of the build that was triggered using REST API.
-
- Resolved
-
-
JENKINS-50361 Return buildId when a job been triggered.
-
- Closed
-
- is related to
-
JENKINS-16827 console display wrong build number when triggering a new build
-
- Resolved
-
-
JENKINS-29222 Plugin detects the wrong build as triggered occasionally
-
- Open
-
-
JENKINS-26228 Allow for minimum time to live on item in queue, to ensure api consumers can connect a queue id to a job id
-
- Open
-
+1. Was about to post this on GG.
Hitting /build and /buildWithParameters really needs to return some type of data so we know the call was received and kicked off properly.
To start:
Build Number
Parameters
Time until it starts (If in queue)
I'm making calls currently and I've had it silently fail a few times and I don't have any way to tell if this is happening and try again