-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Currently when you start a job using the api, you do get back the queue location url. This is great. But the problem is that requires me to keep checking until a build number get's assigned. I don't know what the time to live is on the queue id, but it seem short lived. So if I happen to miss it, the connection between the queue id and the job is gone forever.
What I think would be a good idea is to associated the queue id with the build id. So basically, even if the item isn't in the queue anymore, I can still lookup the job via the queue id. Or allow for a setting for min time to live on the queue. Thoughts?
Relates to JENKINS-12827
- is related to
-
JENKINS-12827 api should return the build number that was queued.
-
- 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
Description |
Original:
'd like to reopen this issue, and ask for feature request. Currently when you start a job using the api, you do get back the queue location url. This is great. But the problem is that requires me to keep checking until a build number get's assigned. I don't know what the time to live is on the queue id, but it seem short lived. So if I happen to miss it, the connection between the queue id and the job is gone forever. What I think would be a good idea is to associated the queue id with the build id. So basically, even if the item isn't in the queue anymore, I can still lookup the job via the queue id. Thoughts? Relates to |
New:
Currently when you start a job using the api, you do get back the queue location url. This is great. But the problem is that requires me to keep checking until a build number get's assigned. I don't know what the time to live is on the queue id, but it seem short lived. So if I happen to miss it, the connection between the queue id and the job is gone forever. What I think would be a good idea is to associated the queue id with the build id. So basically, even if the item isn't in the queue anymore, I can still lookup the job via the queue id. Thoughts? Relates to |
Description |
Original:
Currently when you start a job using the api, you do get back the queue location url. This is great. But the problem is that requires me to keep checking until a build number get's assigned. I don't know what the time to live is on the queue id, but it seem short lived. So if I happen to miss it, the connection between the queue id and the job is gone forever. What I think would be a good idea is to associated the queue id with the build id. So basically, even if the item isn't in the queue anymore, I can still lookup the job via the queue id. Thoughts? Relates to |
New:
Currently when you start a job using the api, you do get back the queue location url. This is great. But the problem is that requires me to keep checking until a build number get's assigned. I don't know what the time to live is on the queue id, but it seem short lived. So if I happen to miss it, the connection between the queue id and the job is gone forever. What I think would be a good idea is to associated the queue id with the build id. So basically, even if the item isn't in the queue anymore, I can still lookup the job via the queue id. Or allow for a setting for min time to live on the queue. Thoughts? Relates to |
Component/s | New: core [ 15593 ] | |
Component/s | Original: queue-cleanup-plugin [ 19323 ] | |
Issue Type | Original: New Feature [ 2 ] | New: Improvement [ 4 ] |
Link |
New:
This issue is related to |
Thanks for filing an independent issue!