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

Teamcity Nunit 3.0 Console Runner not working

I am trying to use NUnit 3.0 Console runner with Teamcity. Here is my confiuration. When I run the configuration, I get the following error > Run Unit Tests (NUnit) (1s) [10:44:03][Step 3/3] ##teamcity[buildStatisticValue…
Afraz Ali
  • 2,672
  • 2
  • 27
  • 47
4
votes
0 answers

Teamcity nuget installer not running install.ps1

I have an ASP.NET application that consumes a nuget package that I also wrote. The nuget package has an install.ps1 script that is invoked when I install the nuget into my solution with VS2015. However, when my Team City build server attempts to…
Teknos
  • 411
  • 1
  • 7
  • 20
4
votes
1 answer

Setting up TeamCity to integrate to OSX Build Agent

Following on from my question on Setting up Teamcity to build Android, I now have the fun challenge of doing the same for an iOS project! What I would like to do is have a TeamCity job (along with all our other Teamcity jobs) to build an iOS…
Dr. Andrew Burnett-Thompson
  • 20,980
  • 8
  • 88
  • 178
4
votes
2 answers

Parallel Build steps in Team City

I am Pretty new to Team City and have been set with a task of creating a CI build. The thing I trying to build is an angular2 app with protractor e2e tests. All the other build steps in Team City run ok but I am having trouble trying to run the step…
dazziep
  • 245
  • 1
  • 4
  • 16
4
votes
1 answer

Replicate msbuild command from TeamCity

I have a TeamCity build which uses msbuildbootstrap to run msbuild. I want to run the same msbuild command on my local machine, but I don't know what parameters TeamCity is passing it. The logs don't say. [Step 1/3] Starting:…
James James
  • 347
  • 3
  • 9
4
votes
2 answers

.NET 4.6 required for .NET 4.5.2 compiled application

After upgrading from building our product in Visual Studio 2010 and .NET 4.0 to Visual Studio 2015 and .NET 4.5.2 we have seen issues running the product on a customers machine. The error we see is a System.MissingMethodException being thrown when…
Bijington
  • 3,661
  • 5
  • 35
  • 52
4
votes
1 answer

TeamCity Snapshot Dependencies without triggering rebuild

TLDR: How can I arrange it so that a snapshot dependency does not trigger new builds? For my test processes to run, they need to run on a "Test" environment. Creating such an environment is simple, but lengthy; it can take as much as 45 minutes to…
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
4
votes
1 answer

Teamcity build counter not being passed into Ant

I'm using Teamcity to build with an Ant runner. I'm trying to pass the current build counter into the "Additional Ant command line parameters" using the following -lib %teamcity.build.checkoutDir%/MI/CustomAntTasks/jars/CustomAntTasks.jar…
Pram
  • 2,261
  • 3
  • 31
  • 50
4
votes
1 answer

How to run VS 2015 code analysis in TeamCity?

I have set up code analysis on all my solution's projects in VS 2015 and it runs fine. In one of the projects, there is .ruleset file and all other projects reference that file as a rule set for their code analysis. Now I want this same code…
Oleksandr Nechai
  • 1,811
  • 16
  • 27
4
votes
2 answers

NuGet package version and NuGet Id

I have one Project.sln in my GitRepo. And I need to build 4 NuGet packages with different configurations (local, qa, sandbox and production). I'm using TeamCity with Octopus Deploy. In TeamCity my Build Configuration has the following Build…
coon
  • 41
  • 1
  • 4
4
votes
1 answer

Can't launch protractor tests on saucelabs from teamcity

I am trying to run my automated tests using protractor from teamcity on saucelabs. If i use the exact same config and capabilities from my local machine, the tests run on saucelabs vm perfectly. If I try launching them from teamcity, the vm are not…
Cratein
  • 453
  • 5
  • 15
4
votes
1 answer

Remove inactive branches from IIS via TeamCity

I've got the following setup: I use git (Stash/BitBucket) as my versioning tool. My build- & deployment proccess is automated via TeamCity8.0.5 (TC) Feature & Bugfix branches are automatically deployed to an IIS Web Site. When I merge a feature…
phhbr
  • 2,699
  • 1
  • 14
  • 25
4
votes
2 answers

Getting the TeamCity build number into the AssemblyInfo file using Nant

I have done a lot of googling but cant seem to find an exact solution to get the TeamCity build number into my AssemblyInfo files. Would appreciate a full solution for my requirements... 1 Get the build number into a Nant variable. I believe that…
Remotec
  • 10,304
  • 25
  • 105
  • 147
4
votes
1 answer

Assembly Version in Teamcity Build Number Format

in my assambly Version I want to set the first 3 digits and the fourth should be set thorugh Teamcity. Example: I set 2.0.1.0 in my Assambly. Then my Teamcity should do: 2.0.1.90, 2.0.1.91... At the moment I have: 2.0.1.%build.counter% But what I…
Rene Koch
  • 317
  • 3
  • 13
4
votes
1 answer

TeamCity includes dll as reference when building project

We have a project with included win32 dll as content file. This file (native32.dll) is copied to the output directory and imported at runtime. Visual studio compiles project without any problems, however TeamCity takes this .dll file (or any .dll…
Gabriel Davidian
  • 318
  • 2
  • 12