build-chain/dependecy over REST API

Hi,

Is it possible to somehow get the  build-chain/depndency info using the TeamCity REST plugin? I'm  interested in the kind of information that is presented on the  "Dependencies" tab when browsing the build using the web interface.

Thanks for any help or hints.

Vojta

4 comments
Comment actions Permalink

Hi

For snapshot dependencies there is <dependency-build> property in /app/rest/builds/?locator=<buildLocator> resource.

Artifact dependencies are not listed yet. Vote for TW-16946 if you need them.

Michael

0
Comment actions Permalink

Hi,

When build A depends on build B I can see the "dependency-build" property at the A build. However, can I figure out the dependency when starting from the B build (build root)?

Thanks.

Vojta

0
Comment actions Permalink

Vojtech,

> However, can I figure out the dependency when starting from the B build (build root)?

Currently not.
What kind of dependency do you mean? What details on the dependency do you need?
Can you please explain why do you need this?

0
Comment actions Permalink

The snapshot dependency. Basically I'm looking for the same information that is presented in the HTML mode, however, to be consumed by an automated tool. This is an early stage of our project and I'm trying to figure out what is possible or not and how.

0

Please sign in to leave a comment.