Most recent build is successful, but is not "Last Successful Build

I'm wondering if someone can define the definition of “Last successful build” in terms of artifact dependencies.  We have a scenario like this:

Configuration 1: Zips up some files and is used by other projects to pull artifacts from.

Configuration 2: Has only an artifact dependency on Configuration A and is set to use “Last successful Build”.

The problem is that when I run Configuration 2, it may or may not pull the last build that is successful.  Sometimes it'll pull 1 or 2 builds back even though there are green builds after it.

I'm wondering if I'm missing something about how “Last Successful” works, or if it has something to do with just housing artifacts in Configuration 1.  Is this normal?  It's been happening to us for years.  Thanks

We are on TeamCity version 

TeamCity Enterprise 2025.07 Build 197242

0
1 comment
Hi,

Could you provide the following to investigate the cause?

1. An example of when the artifacts were pulled from the most recent build:
1.a. Screenshots from both builds' Overview tab.
1.b. Screenshots from both builds' Dependencies tab.
1.c. Full build logs for both builds.

2. An example of when the artifacts were not pulled from the most recent build:
2.a. Screenshots from both builds' Overview tab.
2.b. Screenshots from both builds' Dependencies tab.
2.c. Full build logs for both builds.

3. All dependencies settings of Configuration 2 (screenshots).

You can upload the above to https://uploads.jetbrains.com/ and share the upload ID.

Best regards,
Anton
0

Please sign in to leave a comment.