user1397558
user1397558

Reputation: 63

How to use TeamCity REST API to get the builds which are in QUEUE

Using "https://teamcity.com/app/rest/builds/{buildLocator}?locator=running:any" API can get all running and finished builds, but can't get the builds in queue.

How to get the builds in queue? Anybody know that? Thanks!

Upvotes: 0

Views: 2452

Answers (1)

mattyB
mattyB

Reputation: 1104

According to the TeamCity 8.x documentation available here the GET call is:

http://<server>/httpAuth/app/rest/buildQueue

You can also get the queue builds per project or per build configuration.

Upvotes: 7

Related Questions