I've been trying out TeamCity for a few days, and I'm having some troubles with build artifacts.
I have the following build configurations in my project:
- Boost: responsible for the compilation of the boost library. The generated libs are defined as Build Artifacts.
- Continuous build: The actual project build, which depends on the Boost build configuration, and its artifacts.
I have two issues:
- The transfer of the artifacts takes a very long time (about 20 mins) when the boost headers are included (~ 4000 files)
- The artifacts from the Boost configuration are transferred to the build agent each time a continuous build is triggered, even if they didn't change since the last continuous build on the same agent.
This means that each the continuous build is triggered, event for a very small change that would takes a few seconds to compile, the retrieval of the boost libraries takes ages, so the actual build always takes at least 20 mins.
Is there any way to improve this? I'm afraid there isn't much that can be done to transfer the boost artifacts more quickly (or maybe by compressing them?), but isn't there a way to prevent the build agent to download artifacts it already has?