Teamcity Gotcha! (Clean Artefact Directories)
I spend a fair amount of time tearing my hear out today, as I couldn't figure out why despite downloading git artefacts at the start of a deployment build, they were missing when the deployment started.
I eventually found the cause, I added a new artifact dependency, and saved it to the root, and the “Clean destination paths before downloading artifacts” was already selected. All other dependencies were going into subfolders, this was the first to download to the root checkout working directory.
Perhaps a warning on this, it really wasn't obvious what was going on!
Please sign in to leave a comment.
Thanks for sharing your thoughts on this. Can I ask what version of TeamCity you're using? We have already implemented a warning that should appear in this case, which has been added in TeamCity 2024.07.1 and later. Please see https://youtrack.jetbrains.com/issues/TW-22179 for the details.