Artifact dependency(Latest build with tag)

Hello,

I have 3 build configurations i will name them A B and C.
The build A is making some stuffs and store them as artifacts, this build is tagged with a version.
The build B is retrieving informations from the VCS and as step i convert those informations to some parameters(one of it is the tag of the build A hardcoded in a file stored in my VCS).
The build C has an artifact dependency on A (Latest build With tag) and also a snapshot/artifact dependency on B to obtain the parameters value. In this build i define the dependency A "latest build with tag" using %dep.Id_Of_B.Tag_Value_For_A%. The build C is queued but never run because the artifact dependency on B use a parameter from a dependency(even if my build B contain a valid Tag for C).

Do you have any suggestion to make my artifact dependency working?

0
1 comment
Avatar
Permanently deleted user

Hello,

 

I tried to reproduce your case and met no issues so far. When build C is queued, it triggers build B, then takes artifacts from build A, tagged with %dep.Id_Of_B.Tag_Value_For_A%, and runs or fails to start with "Failed to resolve artifacts..." if there are no A builds with the tag.

Could you please provide some more details to better understand your case?

Which TeamCity version do you use?

What or who is responcible for tagging build A with a proper tag from a file in VCS?

Does C have a snapshot or an artifact dependency on B? What are the options? Could you please attach a screenshot of Build Configuration Settings | Dependencies of C?

0

Please sign in to leave a comment.