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

TeamCity + MSTest - how to capture generated artifacts?

I've searched and searched, to no avail. How does one capture unit test output artifacts from a TeamCity + MSTest step? We're stuffing folders/artifacts in the test directory fine - I'm not asking about [DeploymentItem] and friends Specifically,…
Malachi
  • 2,260
  • 3
  • 27
  • 40
3
votes
0 answers

Teamcity Git private Submodule checkout fails

TeamCity unable to checkout git projects with private git submodules (projects themselves are private and accessed with username/password and use same credentails for submodules), all source is stored on bitbucket and accessed over HTTPS. TeamCity…
Zippy42
  • 81
  • 7
3
votes
1 answer

Setting up linux build agent for teamcity

I am trying to install a build agent on linux for teamcity. I downloaded the buildAgent.zip file and extracted it. I renamed the buildAgent.dist.properties file to buildAgent.properties as instructed by the teamcity documentation. I edited the…
MBU
  • 4,998
  • 12
  • 59
  • 98
3
votes
1 answer

TeamCity - MSBuild - SVN - AssemblyVersion - C#

I'm currently using MSBuild+Community Task's to change the AssemblyVersion, AssemblyFileVersion + more in AssemblyInfo.cs, via TeamCity and it works like a charm :). However I would like to commit the modified AssemblyInfo.cs back to the repo. How…
Christian Mikkelsen
  • 1,661
  • 2
  • 19
  • 44
3
votes
2 answers

teamcity command line interpretter : quotes are replaced

I need to run a simple command line within teamcity FINDSTR /M /N /P /S /R /C:"goto end" D:\blabla\* The double quote are replaced and somehow doubled when teamcity calls the command. The resulting command is cmd.exe /c FINDSTR /M /N /P /S /R…
NicolasW
  • 1,519
  • 5
  • 22
  • 34
3
votes
2 answers

Automate Git merge in continuous integration but fail if there are merge conflicts

The team I am working with would like to use continuous integration to automatically merge two git branches. However we want the continuous integration job to fail if there are merge conflicts, so that the developers can run the merge manually and…
Barnaby Golden
  • 4,176
  • 1
  • 23
  • 28
3
votes
1 answer

teamcity says Test xxx cannot be found for MSTests

For the life of my I'm trying for weeks for Teamcity to run the MSTests I have in my a unit test project which is part of the solution I'm building but I've failed. Below I list the various combinations of settings I've tried and their outcomes.…
gideon
  • 19,329
  • 11
  • 72
  • 113
3
votes
1 answer

BadImageFormatException thrown when running NUnit tests on TeamCity

I have a unit test project using NUnit 2.6.3 using .Net 4.5. But in the teamcity build step configuration I only have runtime 4.0 available (even if other components of my solution are compile against 4.5) and when I run my unit test I get the…
Emmanuel Istace
  • 1,209
  • 2
  • 14
  • 32
3
votes
1 answer

TeamCity build does not run new XUnit tests

I'm using TeamCity 5 with Git VCS and Visual Studio 2010 SLN build runner. My solution has a class library proj containing a number of XUnit 1.5 tests. The post build event on this project runs the…
joeweoj
  • 175
  • 1
  • 1
  • 7
3
votes
2 answers

How to build Xamarin.Mac application from command line or build script

We have a Xamarin.Mac application that is ready to be Continuously Integrated via TeamCity. We have a build host on Mac machine where Xamarin Studio is installed. The next step is to create a build step in a build configuration. Unlike VS, Xamarin…
Maxim V. Pavlov
  • 10,303
  • 17
  • 74
  • 174
3
votes
3 answers

Team City pending changes for specific build configuration is not as per default branch

We are using TeamCity for continuous integration. We have 3 build configurations DEV, QA & PROD. We are using GIT as the VCS repository. In GIT we have two active branches (v1.0 & v1.1). V1.1 is derived from v1.0. After creating v1.1 we have made…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
3
votes
1 answer

Pass on branch name to a script in teamcity

I have a python script that runs as build step in teamcity 9.0. Now I need to know the branch name from which the build is triggered. I could use %teamcity.build.branch% to get the branch name. But I need it to be passed on to my script so that I…
3
votes
1 answer

TeamCity build failure because of child process exits with nonzero exit code

I have a TeamCity (8.1) build project which runs fine most of the time. A part of my MSBuild script is, that the built executable should be code-signed, and there the build fails sometimes.
DanielB
  • 19,910
  • 2
  • 44
  • 50
3
votes
1 answer

GIT VCS not updating sources after Teamcity upgrade

I have recently upgraded to Teamcity 9 from 8. Ever since the upgrade, all of my GIT VCS are not updating sources. Build log show below but the checkout directory is empty. [04:33:49]Using vcs information from agent file:…
3
votes
1 answer

Get branch name from TeamCity build

I am deploying a nuget package which is a result of TeamCity Feature Branch build. The build number format I use includes branch name: 1.0.0.%build.counter%-%vcsroot.branch%. I need branch name at Octopus Deploy side to customize my deploy. What is…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
1 2 3
99
100