Build number set from Artifact Dependency does not match with the artifacts
I have a build config 'A' with an artifact dependency on both 'B' and 'C' latest successful. 'C' also has a dependency on 'B' latest successful
I set the "build number format" of 'A' as the build number from the artifact dependency 'B' using %dep.[BuildConfigIdOfB].build.number%
I ran build 'A' and in the log I see:
[Resolving artifact dependencies] 4 files retrieved from <[Build B], build #123
But the problem is that the buildnumber of 'A' was #122
So 'A' used artifacts from 'B' #123 but the buildnumber of 'A' showed #122
Worth mentioning that at the time I ran 'A' the latest successful version of 'B' was 123. But the latest version of 'C'was #10 - a version that included artifact dependency from 'B' 122.
Any idea why I see these inconsistent buildnumber and artifacts?
Maybe the attached picture helps explain my setup
I am using TeamCity 10.0.2 (build 42234)
Please sign in to leave a comment.
Hello,
Could you please attach screenshot of the dependencies tab for build A #122?
Sure here you go (anonymized)
Thank you for the screenshot. We have the related bug reported in our tracker: https://youtrack.jetbrains.com/issue/TW-47569, please watch it to get status updates.
Thank you!