Latest successful build of a specific branch

Hi. I have a project (A) that depends on another project (B) which has a DVCS (Git) building a lot of branches (using branch specification field).

Does anyone know if it is possible to get the artifacts from the latest successful build of a specific branch from project B to use in project A?
Project A is like a packer of projects and it doesn´t have any VCS.


Thanks.

4 comments
Comment actions Permalink

Hi,

What TeamCity version do you use? Since TeamCity 8.x you can specify "Build branch" artifact dependency option, if it depends from build configuration with DVCS. Or perhaps I've missed something in your question.

0
Comment actions Permalink

Good to know. Thanks. Could I do something similar with Snapshot Depency to ensure that all changes from a specific branch have been built?

Thanks!

0
Comment actions Permalink

If a build configuration with branches has snapshot dependencies on other build configurations, when a build in a branch is triggered, the other builds in the chain also get the branch associated (see this section).
We have the related feature request https://youtrack.jetbrains.com/issue/TW-36517, please watch and vote for it.

0
Comment actions Permalink

I use the main build configuration as a packer so it doesn´t have any VCS. The feature request is exactly what I need. I have already voted for it! I am going to use 'reverse.dep' parameters for now.

Thank you.

0

Please sign in to leave a comment.