Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up a Build machine with TeamCity

Tags:

c#

build

teamcity

I'm currently dealing with multiple small-time dev projects at work.

I'd like to formalize the proecss and so i've installed TeamCity which was recommended by many and is also free for small projects.

I'd like to know -- which components are needed to build projects on a build agent machine ?

I'm building C# projects; do i need to install VS2010 on every build machine? only some subset of it? what exactly ?

like image 935
lysergic-acid Avatar asked Apr 21 '11 15:04

lysergic-acid


People also ask

How do I set up a TeamCity build?

Go to Administration | Projects and open the required project. Alternatively, open the project using the Projects pop-up menu and click Edit Project Settings. The Project Settings page will open. On the Project Settings page, click Create build configuration under the Build Configurations section.

How do I run a build on TeamCity?

To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.

Is TeamCity a build tool?

TeamCity is a build management and continuous integration server from JetBrains. It was first released on October 2, 2006 and is commercial software and licensed under a proprietary license: a freemium license for up to 100 build configurations and three free Build Agent licenses are available.


2 Answers

Only the .Net framework ( which includes msbuild ) should be enough. No need, and it is probably not a good idea in most cases, to install Visual Studio on build agents. Keep the installed stuff on build agent to bare minimum needed to build.

like image 108
manojlds Avatar answered Oct 02 '22 20:10

manojlds


Installing .NET and the Windows SDK (the .NET parts) should be sufficient. Depending on the project types you are using, it will be necessary to copy build targets from your local machine to the build agents (but this is a one time configuration).

like image 27
ccellar Avatar answered Oct 02 '22 20:10

ccellar