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

Unable to locate file 'C:\BuildAgent\temp\buildTmp\SYSTEM_[AGENT NAME] 2013-02-06 16_25_11\

I have an MSTest build step in my TeamCity build. Some of the tests are looking for a file in a relative path which they cannot find and the tests are throwing the error... Cannot find path... 'C:\BuildAgent\temp\buildTmp\SYSTEM_[AGENT NAME]…
xspydr
  • 3,030
  • 3
  • 31
  • 49
4
votes
2 answers

Team City: Skip web.config when deploying using Web Deploy

I deploy a project by using build parameters such as: systemDeployOnBuild = true system.DeployIISAppPath = [something] system.DeployTarget = MSDeployPublish and a few other parameters to target my IIS Web Deploy server. How can I prevent the web…
Base33
  • 3,167
  • 2
  • 27
  • 31
4
votes
2 answers

Increment the build number automatically

I have two projects in solution. One is version 3.0.0.* and the other is 2.0.0.*. I build my solution on Team City using an MSBuild script. How can I inject the build number portion of the version string into the AssemblyVersion attribute leaving…
Myles McDonnell
  • 12,943
  • 17
  • 66
  • 116
4
votes
3 answers

Team City and Power Shell

I'm new to team city and trying to invoke deployment tool using REST API. I'm trying to pass power shell script the build.number from team city. My question is how can I run PS script from TeamCity and pass it the $build parameter value This is PS…
Dmitry R
  • 2,956
  • 4
  • 25
  • 45
4
votes
1 answer

Setting build configuration to staging

Simple question. How do I set the build configuration to something other than Debug? Setting /P:Configuration=Staging in the Command line parameters box, leads to this error: TeamCity says to use "Build Parameters" instead of "/property:" in an…
Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
4
votes
2 answers

TeamCity push feature branches to master branch

Is there any way to push successfully built feature branches to another branch? I'd like to have something like that: Git repository (Gitorious/GitHub whatever). Branches: master (current project's code) quality-assurance (branche where code waits…
Simon
  • 2,329
  • 4
  • 30
  • 49
4
votes
2 answers

Is it possible to schedule a job from the build parameters instead of setting up a trigger?

I would like to give the option when the run|... job option is clicked and in the build parameters to set a time to run this job. Setting this as a trigger is not a option, 1) each day may be different, but it's at night so setting it would be nice.…
user1904898
  • 59
  • 4
  • 18
4
votes
1 answer

TeamCity :User must pass parmeters to build

Everytime a user executes a run on TeamCity, I want the TeamCity to prompt the user to enter certain parameters to be passed similiar to a custom run and if parameters are not passed, the build doesn't execute. I understand custom run will allow…
user983965
  • 1,111
  • 3
  • 17
  • 31
4
votes
1 answer

How to make a TeamCity build wait until all of its artifact dependencies are rebuilt?

I have a TeamCity project with a few types of build configurations: Application packages, containing various application components and built from various subtrees in version control Role packages, combining the application packages together in…
Tara McGrew
  • 1,987
  • 19
  • 28
4
votes
2 answers

Artifact dependency from the same build configuration in TeamCity

I'd like to setup a TeamCity build that will perform an incremental build. For this, i want to store the build outputs (.dll files) as artifacts, and reuse them on every subsequent build (copy the latest artifacts to the build agent before starting…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
4
votes
1 answer

How can I change the working directory for NUnit tests in Team City?

I am using Team City as the build server, and I have a msbuild build script to build and run integration tests for my project. However, Team City when running my tests decides to ignore the WorkingDirectory attribute on the NUnit task, and as a…
Grzenio
  • 35,875
  • 47
  • 158
  • 240
4
votes
3 answers

How should I move NuGet artifacts to a new TeamCity server?

We've been using TeamCity as a NuGet server with great success. Last week I migrated TeamCity to a new server machine. The database remained where it was on an external server. I copied the artifacts folder to the new server and I can see them all…
CoderDennis
  • 13,642
  • 9
  • 69
  • 105
4
votes
0 answers

TeamCity database is empty or doesn't exist. message. The database does exist

After server ran out of disk space because TeamCity created a huge > 5GB file in the CH subfolder of system/message folder I deleted the whole CH subfolder to free the disk space After I restarted the TC service, I got the following message on the…
4
votes
1 answer

How do you remove / alter statistics charts in Team City?

I want to remove some of the standard Team city charts such as "Success rate" and "Time Spent In Queue", how do I do this? Its documented here who to do it, but this only seems to allow you to remove a subset of the charts, not including the ones…
Dan
  • 29,100
  • 43
  • 148
  • 207
4
votes
2 answers

Recommendations for turning multiple solutions/projects into a single msdeploy package?

Our main website is a collection of 10 separate ASP.NET projects and applications. At the moment, to do a complete deployment onto a fresh server involves running ten separate msdeploy jobs; each application is built, configured (using config…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197