Questions tagged [teamcity]

TeamCity from JetBrains is a continuous integration tool and a distributed Java-based build management system that can be highly beneficial to teams using an agile development approach.

TeamCity is a Java-based build management and continuous integration server from JetBrains. Comparable products are Bamboo, Jenkins (which is historically related to Hudson) and CruiseControl.

It was first released on October 2, 2006. TeamCity is commercial software and licensed under a proprietary license. A Freemium license for up to 20 build configurations and 3 free Build Agent licenses is available.


**Tagging recommendation:**
It is recommended to use the tag together with the version specific tag, f.e. , .
**Resources:**
6095 questions
5
votes
3 answers

How do you call multiple MSBuild scripts from one MSBuild script

I have 3 MSBUild scripts for deployment, 1 for deploying UI 1 for deploying a couple of web services. 1 for deploying backend services. Now I would like to create a one click deployment MSBuild script, which would call all the above 3 scripts, which…
Pradeep
  • 78
  • 1
  • 2
  • 8
5
votes
1 answer

Teamcity MSBuild publish output directory

I am using Teamcity to publish a web app I have created, with targets Rebuild, ResolveReferences, _WPPCopyWebApplication, Package and the following command line…
Kit Barnes
  • 725
  • 3
  • 11
  • 17
5
votes
1 answer

How do I run OpenCover + NUnit in TeamCity without running all unit tests twice?

I set up OpenCover in my MSBuild script, setup the ReportGenerator, and have it output as an artifact and have a custom tab - all of that works great. Here is my MSBuild target:
NightOwl888
  • 55,572
  • 24
  • 139
  • 212
5
votes
3 answers

Log onto TeamCity server using REST API without passing credentials in the url

As a follow up to a previous question I asked: How to pass username and password in TeamCity REST API, I'd like to check on something. Can someone tell me if it's possible to access the TeamCity REST API in a more secure way, rather then passing the…
Jason Evans
  • 28,906
  • 14
  • 90
  • 154
5
votes
1 answer

Is it possible to get TeamCity to stop & restart Amazon EC2 instances for build agents?

I have TeamCity (7.0.2) successfully spinning up an EC2 VM from a custom AMI, running our build, and sending back the build artifacts. However, even when I used to do this with older TeamCity versions, I was always unhappy with the notion that it…
5
votes
4 answers

D3DERR_INVALIDCALL error, TeamCity builder

I've been trying to use TeamCity 4.5 in order to automate builds of an XNA project but I have a small problem. My projects compile correctly under Visual Studio 2008, but not when compiled with TeamCity as the builder. The configuration file uses…
tomzx
  • 2,014
  • 6
  • 24
  • 34
5
votes
2 answers

Checkout just one file from SVN using Team City

Is this possible? Right now I'm using build artifact dependencies (I save the file from another build config in a .zip and add that artifact as a dependency in the build config where I need it). But I think this way would be more efficient. I've…
dario_ramos
  • 7,118
  • 9
  • 61
  • 108
5
votes
2 answers

How can I output messages from FinalBuilder that will be captured by TeamCity?

I'm running TeamCity Professional 4.5.3 and FinalBuilder Pro 6; TeamCity's running the FinalBuilder project using a command-line task. How do I get FinalBuilder to print messages into the build log, so that TeamCity will capture them? The TeamCity…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
5
votes
2 answers

Are there any TeamCity plugins that'll allow me to use Hyper-V for cloud agents?

We're currently moving most of our internal servers to Hyper-V VMs. At some point we'll do the same for our TeamCity build agents. I'm wondering whether we can use the Cloud Agent feature of TeamCity to elastically spin up VMs when needed. Is this…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
4
votes
2 answers

TeamCity NuGet installer build step fails

I'm trying to configure TeamCity to work with NuGet. So far - no luck. I configured 4 build steps: Download NuGet packages Build Run unit-tests Check for code duplications. However, when I trigger the build, I can't even get past first build…
chester89
  • 8,328
  • 17
  • 68
  • 113
4
votes
4 answers

Move files to remote file share after build

I want to create a post build script that moves files from the build directory to a remote (UNC) file share. This line: xcopy "C:\TeamCityBuild\project\WebSite\*" "\\192.168.1.1\WebSite\" /C /R /Y /E Works fine when it is ran in a DOS-window but…
Zooking
  • 3,491
  • 4
  • 34
  • 39
4
votes
0 answers

Setting specific checkout change (build.vcs.number) for custom build in TeamCity with Perforce

When doing a TeamCity personal build from Perforce, is there any way to set a specific change number to checkout? I suppose it means overriding the build.vcs.number.* variable, but I found no way to do this - and I don't see the "Changes" tab in…
Viktor Svub
  • 1,451
  • 10
  • 15
4
votes
3 answers

How to use the TeamCity AssemblyInfo Patcher build feature, but exlude SVN Externals from also being patched?

I have a project setup in Subversion which has a few Subversion Externals defined. These Subversion Externals reference other projects. Example Subversion layout: repo/Project1/trunk repo/Project2/trunk Example Checkout…
Llyle
  • 5,980
  • 6
  • 39
  • 56
4
votes
1 answer

TeamCity and Rails deployment

Can anyone please point me to a documentation/demo on how to deploy a Ruby on Rails web app using Teamcity once build passed? The scenario is to: deploy the web app, by starting the web server on the build machine and then firing UI functional…
Viku
  • 129
  • 5
4
votes
2 answers

TeamCity deletes files on build

I am a newbie to TeamCity and Continuous Integration. I have followed this very nice guide to set everything up and it all seemed to work at first. TC could check out the files from SVN and it could build them with no problems. However I discovered…
Zooking
  • 3,491
  • 4
  • 34
  • 39