3
votes

I'm using TeamCity 8.1.2 and I need to trigger a build whenever someone checks a file in to a specific directory, but I DON'T want TeamCity to check the files out from that directory. I have a process that I need to run and I just need the triggering mechanism of TeamCity without the checkout mechanism.

I have a VCS Trigger set up and have tried adding some trigger rules that trigger a build when a file is checked in to my directory that I am monitoring, but that really only seems to work if you have checkout rules set up.

I have tried deleting all checkout rules, but TeamCity just tried to check out every file from the root.

I have tried adding an "exclude all" checkout rule (-:.), but then the build never get's triggered.

Can anyone help?

1

1 Answers

4
votes

You can create a build configuration with VCS checkout mode "Do not checkout automatically" and no checkout rules configured.