Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clear pending VCS changes in TeamCity 7+?

Tags:

svn

teamcity

We have a project configured in TeamCity 7.+ to watch a project in Subversion. Each check-in will trigger a build. However, in this case, we want to skip/clear the backlog.

To be very clear: I do not wish to "undo" these Subversion commits. I want to keep the svn commits, but skip the TeamCity builds.

I tried disconnecting the Build Trigger (disable, then delete), but no luck. The TeamCity queue remains.

How to do it? My googling skills are failing me. =(

enter image description here

like image 926
kevinarpe Avatar asked Jan 14 '13 11:01

kevinarpe


2 Answers

You can exclude certain folders/files by editing your Checkout Rules for your VCS Root in Version Control Settings. However, this would exclude those folders/files indefinitely.

It sounds like you only want to exclude these 4 specific changes? That seems counter intuitive as the point of Teamcity and builds in general is to build the solution/project as it is.

If you need these four changes to not be incorporated in the build, you would need to roll them back. If they are used in a different build, you would need to exclude them from this build and create a new build where these changes are needed.

like image 86
Dan Hoerst Avatar answered Nov 07 '22 18:11

Dan Hoerst


According to this jetbrains support post, you can just detach the VCS Root and re-attach it.

like image 3
Graeme Christie Avatar answered Nov 07 '22 17:11

Graeme Christie