Steven Barnes
Steven Barnes

Reputation: 33

How can I trigger a build using a VCS trigger without checking out any files

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?

Upvotes: 3

Views: 1832

Answers (1)

Alina Mishina
Alina Mishina

Reputation: 3370

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

Upvotes: 4

Related Questions