How to set Build Tag Recursively

When setting a build tag in the TeamCity web UI, there is a checkbox to apply the tag to all snapshot dependencies. How do you do this in the REST API?

1 comment
Comment actions Permalink

Hi Ryan,

This feature is not supported by REST API. Please create a feature request in our tracker.
As woraound you can traverse the chain and tag each build separately. Get the build details via request like
http://localhost:8111/app/rest/builds/id:24009 (where 24009 is build id) and get direct build's dependencies under <snapshot-dependencies> element.

Then tag each found build.

0

Please sign in to leave a comment.