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
3
votes
2 answers

How do I clean the "Build branch" list in TeamCity?

TeamCity automatically kicks off builds for the branches created by GitHub Pull Requests. This is all fine, and its "Active Branches" list has the same number of items as there are Pull Requests in the monitored repository. However, if I go to run a…
Graham Clark
  • 12,886
  • 8
  • 50
  • 82
3
votes
2 answers

How to deploy artifacts of TeamCity to Amazon EC2 Server

We decided to use AMAZON AWS cloud services to host our main application and other tools. Basically, we have a architecture like that TESTSERVER: The EC2 instance which our main application is deployed to. Testers have access to the…
SadullahCeran
  • 2,425
  • 4
  • 20
  • 34
3
votes
2 answers

Mercurial workflow with selective feature deployment and continuous integration

for a team of 12 developers, can you help me determine a process and workflow for building and deploying a product using mercurial for source control and team city for build server? we have a system that tracks issues and enhancement requests. most…
Dave Rael
  • 1,759
  • 2
  • 16
  • 21
3
votes
0 answers

Teamcity build fails with roslyn error

I am trying to build a sln I have on TeamCity and I am getting the following error [Csc] C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt…
pantonis
  • 5,601
  • 12
  • 58
  • 115
3
votes
2 answers

Updating a appsettings.json file from Teamcity

I have a appsettings.json file in my dotnet core project. From Teamcity I need to update the content of the file. File looks something like this { "keyofjson":"valuetobeupdated" } I need to update the text "valuetobeupdated" based on…
3
votes
2 answers

changing teamcity agent npm version

I'm trying to point teamcity to use the latest npm version 6.0.1. but for some reason, it is stuck using 5.6.0. node.js 10.1.0 node.js.npm 5.6.0 the node version gets updated. I have tried adding npm i npm@latest -g to the build step, it runs…
Elena Maximova
  • 916
  • 1
  • 8
  • 15
3
votes
1 answer

TeamCity using MSDEPLOY ERROR_FILE_IN_USE

I have an ASP.NET 4.6.1 application that I am trying to deploy to a remote web server using TeamCity and MSBuild. Below is the MSBuild build step within TeamCity. When I run the build in TeamCity, it always fails on this build step with a…
Ryan V
  • 480
  • 3
  • 13
3
votes
0 answers

Pulling existing project settings from .teamcity folder in VCS to new TeamCity Server

I've configured our current TeamCity instance to use Versioned Settings and these have been pushed to the .teamcity folder at the root of our repository. I'm now configuring a new TeamCity instance and would like to set the VCS root of the _Root…
Grant Trevor
  • 1,052
  • 9
  • 23
3
votes
1 answer

Run Build Feature depends on configuration parameter

I would like to use File content replacer build feature. But I need two different search/replace patterns depends on some configuration parameter param1. If param1 starts with text 'first' then apply first search/replace pattern otherwise apply the…
Serg046
  • 1,043
  • 1
  • 13
  • 42
3
votes
1 answer

How to run TeamCity service under a user account instead of "System"?

After being unable to clone a private github repo inside a TeamCity command line build step, even when making sure the ssh-agent was running with the correct key, I found this answer: Team City Git "Host key verification failed" How to do what this…
Chuque
  • 587
  • 1
  • 5
  • 22
3
votes
1 answer

How to replace a TeamCity tag

I am trying to replace a tag that was added to a build with a new one on a new build. I can create the tag using the following command: curl -v -H "Content-Type:text/plain" -d "latest"…
3
votes
0 answers

Error on TC SSL certificate

I got TC installed in my VirutualBox VM with windows 7. Everything worked ok. But some days ago I switched my main system (host) from W7 to W10 and when I tried to get access to TC server I got following errors: SSL_ERROR_RX_RECORD_TOO_LONG in…
Seekeer
  • 1,344
  • 2
  • 18
  • 31
3
votes
1 answer

Compiling Type Script files with dotnet build not working on server

We are currently building a new dotnet core application. To be sure that we always deploy the latest *.js files we have decided to ignore the local compiled *.js files with git-ignore. So these javascript files will not be checked in in our…
celsius65
  • 71
  • 7
3
votes
1 answer

Custom Statistics in TeamCity 6.0

I am trying to follow this writeup (http://pwigle.wordpress.com/2009/12/11/code-metrics-statistics-with-team-city/) to add code statistics to my TeamCity 6.0 Ci server. I have gotten everything to work as described in the writeup except the last…
PlTaylor
  • 7,345
  • 11
  • 52
  • 94
3
votes
2 answers

Getting TeamCity to run NUnit tests, with both NCover and TypeMock integrated?

Basically I'd like to use the NUnit plugin for TeamCity (the program, not necessarily the specific build step using it) to run my unit tests, with NCover for code coverage, and since my unit tests uses TypeMock 6, I need that too working. So far…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825