Optional artifact dependencies
Hi,
TeamCity allows for copying artifacts from the last finished build via "artifact dependencies". In case these artifacts do not exist yet, the build fails. Is there a way to express that these files are "optional"? My specific use case is that I want to copy hash files from a previous build run to allow for incremental build functionality. However, these files do not exist before the job hasn't be executed at least once.
Thanks,
Ben
Please sign in to leave a comment.
Hi Benjamin,
Won't it be an option to add artifact dependency after the first build run?
We have the related feature request in our tracker - https://youtrack.jetbrains.com/issue/TW-19132, please see and vote for it.
The current workaround is to download artifacts from within the build script and process the errors there.