Leave pending changes "pending" on build fail

As you can see on the image, pending changes are considered “done” with a failed build. Failed build should leave pending changes “pending” because the build failed.
I've searched teamcity documentation and there is no way checkbox or option to “leave changes pending on build fail”
Can this be changed?
Am I missing something?
Currently using V2024.12.2 Teamcity On Premise
Kind Regards
Please sign in to leave a comment.
This is the expected behavior; essentially, even if the build has failed, TeamCity considers that as a result and associates changes with the build. The next build (in case there are any intermediate changes) will reflect only the newer commits and, in case it is successful, you will be able to see what changes fixed the build.
Best regards,
Anton
mmmh, that was one of my working hypothesis;
Thanks for the information Anton.
Just out of curiosity; will there be any plans of making this configurable, maybe?
Kind Regards!
No, but please feel free to create a feature request in our issue tracker describing your use case and why this feature is needed: https://youtrack.jetbrains.com/issues/TW
Best regards,
Anton