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

How to export TestExecute/TestComplete results to teamcity?

I am using commandline build step in teamcity to run the testcomplete tests via a batch file.The tests are running fine,but I do not see any information regarding the passed/failed tests in teamcity. Basically TestComplete generates some log files…
kranthi
  • 1,519
  • 6
  • 29
  • 52
3
votes
2 answers

How can I use TortoiseSVN's SubWCRev utility in a build with TeamCity?

I want to use SubWCRev to include the SVN revision number as part of the version number in my project, but we're using TeamCity and it doesn't seem to include the .svn directories when it pulls the source for a new build. Is there any way to force…
Cory McCarty
  • 1,375
  • 4
  • 15
  • 23
3
votes
4 answers

"Trigger on changes in snapshot dependencies" does not seem to work properly

I'm using TeamCity 6.5.1 with one project and about 10 build configurations. I have a dependency chain akin to Core -> Framework -> Apps. Framework has a dependency on Core, and the Apps depend on both Core and Framework. The issue I am having is…
Matt Beckman
  • 5,022
  • 4
  • 29
  • 42
3
votes
1 answer

Trouble configuring TeamCity and dotCover

Im trying to configure TeamCity 6.5 with inbuilt NUNIT and bundled dotCover. For reasons I do not understand dotCover Merge command fails, along with all subsequent commands with some non-zero exit code. Using Nunit 2.5.10, x64 on a 64 bit machine,…
Zasz
  • 12,330
  • 9
  • 43
  • 63
3
votes
2 answers

Why can't I unzip in PowerShell on a TeamCity Agent?

I have a script that unzips an MVC package, minifies all the CSS and js files, and rezips it. It works perfectly on my machine and on the CI server as an admin or the TeamCity account. When TeamCity pulls it down and runs it, the script gives all…
Jon
  • 15,110
  • 28
  • 92
  • 132
3
votes
1 answer

Proper build trigger rule for a TFS path in TeamCity

I am trying to trigger a build only on commits to the trunk rather than the branches. When I make the build trigger on any VCS commit it works fine but I cannot seem to get the rule right to trigger only on commits to MAIN/source by any user. What…
Bryan Naegele
  • 660
  • 3
  • 10
3
votes
1 answer

TeamCity Build Triggering - exclude changes in a specific directory

Our build process generates a couple of files (with extension .file for sake of argument) that are automatically checked into git at the end of the process. This checkin triggers a new build so we have an infinite loop of builds triggering each…
el-milligano
  • 2,146
  • 1
  • 13
  • 6
3
votes
1 answer

How to exclude assemblies by mask *.Tests.dll from TeamCity coverage with dotCover?

I'm using a naming convention for my test assemblies: AssemblyOne.Tests.dll ProjectTwo.AssemblyTwo.Tests.dll ... I'm trying to exclude the assemblies from coverage with the pattern in mstest runner with dotCover: Assemblies…
George Polevoy
  • 7,450
  • 3
  • 36
  • 61
3
votes
1 answer

How to get TeamCity to exclude nunit test categories?

I am using the TeamCity VisualStudio sln configuration to drive my CI build. It runs all my NUnit tests - which is all well and great but I don't want TeamCity running any of my tests with the [Category("DatabaseTests")] attribute (since they hit…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
3
votes
1 answer

HG command path in TeamCity in Windows

I'm configuring my build server using TeamCity with Mercurial and I don't know what is "HG command path" field. And the field "Pull changes from"? Should I put the address I'm cloning? From i.e. http://192.168.87.143/hg/TestProject
Acaz Souza
  • 8,311
  • 11
  • 54
  • 97
3
votes
1 answer

Is there the possibility to force teamcity to execute some command before it pass necessary data to build agent?

Teamcity allow to set up the behavior of build agents. But can I somehow to run some command before the teamcity begin to communicate with build agents after receiving all updates from SVN?
Andrew Lubochkn
  • 916
  • 2
  • 7
  • 16
3
votes
2 answers

How to configure TeamCity to build a solution with 2 projects?

How to configure TeamCity to build a solution with 2 projects? I have configured TeamCity to build my solution which has 1 project which is chosen as Startup Project and it builds fine. I configured it by adding a new Build Step with Runner Type of…
The Light
  • 26,341
  • 62
  • 176
  • 258
3
votes
1 answer

How do I create a NuGet package from a project file so it includes the necessary assemblies?

To generate a NuGet package I'm currently using the command: nuget pack project.csproj -Prop Configuration=Release which I expected would package up the files in the bin\Release folder, i.e. the result of building the project. This folder has…
LaserJesus
  • 8,230
  • 7
  • 47
  • 65
3
votes
1 answer

Inconsistent test results when using dotCover

I have some code with unit tests that pass in a Debug build but fail in a Release build which is correct. However, the same tests pass in both Debug and Release mode when run using JetBrains dotCover. To give a bit of background, here is the…
3
votes
1 answer

How to perform automated deployment - with a Pull model

We're currently doing continuous deployment to our dev/qa servers, and manually triggered automated deployment to our production boxes. Currently we're using TeamCity/PowerShell/MsDeploy. We now have a requirement to deploy to a server that sits on…
James Crowley
  • 3,911
  • 5
  • 36
  • 65