Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excluding Projects from a Build in TeamCity

At work we've added SQL Database projects to our VS 2010 project as a way of keeping control of changes in stored procedures and schema changes. Unfortunately, it is now breaking the build on our TeamCity CI server.

Is there a way to tell TeamCity not to build these projects or will I have to accept defeat and install Visual Studio 2010 on the TeamCity CI server?

like image 657
Daniel Hollinrake Avatar asked Mar 01 '13 12:03

Daniel Hollinrake


1 Answers

Option 1

Make a copy of your current .sln and remove the SQL db projects; then point TeamCity at this sln instead.

Option 2

Make a new Build Configuration (you have Debug, Release and you could add DebugCI as an example) and tick the projects you want compiled in this configuration. Then in the build step setup type DebugCI into the Configuration box: (is Debug in this screenshot but you get the idea)

enter image description here

like image 78
wal Avatar answered Oct 19 '22 19:10

wal