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
4
votes
1 answer

How to trigger a build only on changes in git master branch?

What needs to be configured in TeamCity 7.1 that it triggers a build only when a commit happens to a master branch in git? Currently, it triggers when changes to other (feature) branches are pushed to the remote repository.
zappan
  • 3,668
  • 4
  • 29
  • 24
4
votes
1 answer

TeamCity, no clean-up for certain configuration. No pinned builds, no dependent builds

I'm running TeamCity 5. I have one particular configuration that is preserving 3500+ past builds, with artifacts, from the last year or so. It's taking up almost 7 gigs of space so I need to clean up old builds. The configuration is set to clean…
Vimes
  • 10,577
  • 17
  • 66
  • 86
4
votes
4 answers

How to copy a build to test server?

Hope someone can assist me with this. Have TeamCity up and running and doing builds on various projects. I'd like to be able to copy/deploy a successful TeamCity ran build to a test server automatically. I was thinking of using PowerShell to do this…
xspydr
  • 3,030
  • 3
  • 31
  • 49
4
votes
3 answers

Web Application Deployment Workflow with SVN and TeamCity

I'm fairly new to Subversion. Most of my work so far has been with Visual Source Safe. I'm looking to improve my deployment process with SVN and TeamCity. This is my plan: There would be three branches: Development (/trunk) - Entire ASP.NET…
jrummell
  • 42,637
  • 17
  • 112
  • 171
4
votes
1 answer

TeamCity artifact paths combine folders

I need to create zip archive artifact which contains two folders. I know how to create one folder archive: Folder1 => myartifact.zip But how can I tell TeamCity to add Folder2 to same archive?
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
4
votes
1 answer

Is it possible to grant access for a domain group in TeamCity?

I'm trying to set up TeamCity with Windows Authentication but can't find any documentation about configuring a TeamCity to only allow login for a specific AD-group, is that possible?
Tomas Jansson
  • 22,767
  • 13
  • 83
  • 137
4
votes
1 answer

Issue deploying with MSBuild and TeamCity

I'm trying to build and deploy a web application using MSBuild and TeamCity. I've read multiple SO posts and finally decided on using these parameters /p:Configuration=Debug /p:OutputPath=bin /p:DeployOnBuild=True…
dalcantara
  • 1,613
  • 2
  • 21
  • 35
4
votes
3 answers

TeamCity: labeling VCS (Subversion) with an artifact's file version

I want to create create a label (tag) in the SVN with a file's version. I'm already renaming the artifact by getting the file version of the main executable produced by the build. Such as: MyInstaller-1.2.3.1.exe. Now I want to create a tag in the…
dr. evil
  • 26,944
  • 33
  • 131
  • 201
4
votes
1 answer

installation of nuget on a teamcity server

We have a TeamCity 7 server and we'd like to enable it for nuget. We don't have any external network connectivity on the box, so when asked to download nuget, TeamCity says "Failed to fetch latest NuGet from default feed. Connection to…
Andy
  • 3,596
  • 8
  • 34
  • 33
4
votes
2 answers

Entity Framework 4.3.1 Migrate.exe non-zero exit code

We are using Entity Framework 4.3.1's migrate.exe tool to run database migrations from our TeamCity build server as part of our continuous integration and deployment automation. One of these issues we have been encountering is that the migrate.exe…
jslatts
  • 9,307
  • 5
  • 35
  • 38
4
votes
2 answers

How to get TeamCity working with ASP.NET MVC 3 web project

I'm currently slugging it out with TeamCity trying to get two build configuration working for an ASP.NET MVC 3 solution. My setup is pretty much identical to the guidance at http://www.troyhunt.com/2010/11/you-deploying-it-wrong-teamcity_26.html . …
4
votes
3 answers

Access to TeamCity build comments

A continuation on the answer to this question: Is it possible to add a free text note to a team city build? In TeamCity custom build dialog there is a field for "Build comments". Is there a way to access this from within the build? Either as a…
sbhl
  • 433
  • 1
  • 4
  • 9
3
votes
2 answers

MSTest results in success when no tests are found

I have two questions. I run TeamCity 6.5 build and one of the steps is MSTest tests. And in case when MSTest can't find the tests described in vsmdi file, I expect that the test run fails. [17:47:01]: [Step 2/2] Loading…
Pavel
  • 73
  • 5
3
votes
2 answers

How to setup MSBuild to name Project.dll instead od Project.vcxproj.dll in TeamCity?

I've got a problem while using TeamCity automation build engine. I need to build many vcxprojects, some of them are LIB or DLL and rest are EXE files, using previously built LIBs. Example of setting one LIB project in TeamCity is:
3
votes
1 answer

TeamCity MSTest and TestList?

In order to automate unit tests on TeamCity I had to create a test list in my vsmdi configuration file indicating that every test is part of a list I called CompleteCoverage. I dislike this a lot because in order to auto-run new tests I'll have to…
bevacqua
  • 47,502
  • 56
  • 171
  • 285