List Builds Having "Failed to resolve artifact dependency"

Is there any way that I could list builds that failed to start because of "Artifact resolving failed" using TeamCity REST API? The build is visible in the UI (but greyed out, similar to any build that failed because of "Failed to start build runner").

Here is a couple of commands that I tried:<buildTypeId><buildTypeId>,status:FAILURE<buildTypeId>,canceled:any

I could still access the build with the exact ID generated with:<buildId>

The build is showed with status "FAILURE" and state "finished". But even with status FAILURE build locator, it still does not show up.

More information: this build configuration has an artifact dependency (generated by another build configuration), this failure pops up if the build cannot pull down the artifact dependency.

Any help would be appreciated.

Thank you.

Screen Shot 2015-06-01 at 3.11.41 PM.png

1 comment
Comment actions Permalink

Hi Minh,

Unfortunately "Failed to start" build status is not currently supported by REST API. Please vote for the related request:
To include canceled builds, you can use app/rest/buildTypes/id:XXX/builds?locator=canceled:any request.


Please sign in to leave a comment.