How can I get queue position of a queued build by rest api?

Is there any rest api to get queue position of a queued build? or get how long time a queued build will start?

Thanks!

1
3 comments

Hi,

 

pulling from the REST API the build returns the builds in the queue order, so if you pull from the queue and find the queue in the 5th position on the list, it will be position #4 (counting from 0).

0
Avatar
Permanently deleted user

Hi Denis, thank you for your reply! could you share what's the Rest API exactly?Thanks!

0

Our docs for it are here:

https://confluence.jetbrains.com/display/TCD18/REST+API

 

In particular for the build queue, the endpoint is /app/rest/buildQueue

0

Please sign in to leave a comment.