Is this possible? Right now I'm using build artifact dependencies (I save the file from another build config in a .zip and add that artifact as a dependency in the build config where I need it). But I think this way would be more efficient.
I've seen that this can be done using command-line svn, but if possible, I'd like to do it using Team City's vcs root + checkout rules concepts.
"It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."
The build checkout directory is a directory on the TeamCity agent machine where all the sources of all builds are checked out into. If you use the agent-side checkout mode, the build agent checks out the sources into this directory before the build.
VCS checkout rules allow you to check out a part of the configured VCS root and to map directories from the version control to subdirectories in the build checkout directory on a build agent.
It can't be done by Team City itself; its checkout rules only handle directories. In fact, users have requested this feature and it's still pending. I have just voted for it. If you see this and need it, please vote as well.
Guess I'll do it from the command line. Here's how.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With