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

TeamCity loads custom plugin, but there's no evidence the plugin code runs

I am playing around with a TeamCity install and developing a plugin that extends a BuildServerAdapter. When I package it up and install it to the server, teamcity-server.log contains entries for my plugin: found when scanning the plugins…
Rebecca Chernoff
  • 22,065
  • 5
  • 42
  • 46
52
votes
8 answers

*.dll.licenses file in obj directory not created with msbuild in TeamCity

I am working on upgrading our TeamCity projects from VS2012 to VS2015 and I am running into an issue compiling our MVC application. Old MSBuild (v4.0.30319.34209) generates a file in the obj directory called MyApplication.Web.Mvc.dll.licenses which…
gwin003
  • 7,432
  • 5
  • 38
  • 59
50
votes
6 answers

Creating one NuGet package from multiple projects in one solution

I have a solution that I'm working on that contains 4 class library projects (A, B, C, D). A and B could be considered the top level projects in the solution. Both A and B reference C, and D stands alone. These four projects represent a group of…
Logarr
  • 2,120
  • 1
  • 17
  • 29
49
votes
9 answers

MSBuild on CI Server can't find AL.exe

I'm having a problem on my TeamCity CI build server where during compilation I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2342, 9): error MSB3086: Task could not find "AL.exe" using the…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
49
votes
7 answers

TeamCity share build number between multiple build configurations

i am looking for a way to share build number between multiple build configurations. The goal is to have an global counter of some sort and all build configurations would be incrementing it and use it in its own the build number.
Eatdoku
  • 6,569
  • 13
  • 63
  • 98
49
votes
4 answers

Conditionally execute a TeamCity build step

I am working on defining a general-purpose build template for all our projects -- which I have placed at the "root project" level (thanks to this new feature of TeamCity 8). Some of our projects create an installer, which needs to be generated by a…
Stuart Lange
  • 4,049
  • 6
  • 24
  • 30
49
votes
4 answers

How to add the custom nuget feed to TeamCity build?

I have created a Nuget Server using Teamcity (running on a virtual machine in internet) and created the build that publishes a package into it. I also have another project that needs to use that package. This project is built on teamcity as well.…
Eugene
  • 1,515
  • 1
  • 13
  • 23
48
votes
3 answers

Publish one web project from solution with msbuild

I'm trying to deploy one of the web projects in my solution to a server. I am using msbuild on TeamCity like so: msbuild MySolution.sln /t:WebSite:Rebuild /p:DeployOnBuild=True /p:PublishProfile=Prod ... However, when I run it, msbuild still tries…
Caleb Jares
  • 6,163
  • 6
  • 56
  • 83
47
votes
1 answer

How to use robocopy to copy directories on different domains

I want to copy a directory(abc) from domain1/user1 to domain2/user1. any idea how to do this. e.g robocopy robocopy \\server1\G$\testdir\%3 \\server2\g$\uploads and both are on different domains
sam
  • 4,594
  • 12
  • 61
  • 111
46
votes
3 answers

Using git commands in a TeamCity Build Step

One of my TeamCity v7.0 build projects relies on using a diff between the current development branch and the master branch to determine what needs to be run. I've written a small script that uses something like: git diff origin/master..origin/QA…
Jake Stevenson
  • 3,009
  • 6
  • 35
  • 40
44
votes
5 answers

Where does a TeamCity build agent get its path environment from?

I'm trying to set up TeamCity to build my project, but my psake buildscript fails, with the reason being narrowed down to its inability to find the git executable, which is supposed to be on the path. When I start a PowerShell and execute the thing…
44
votes
7 answers

"Thorough", tutorial on setting up Jetbrain's TeamCity CI server

Does anyone know where I can find a good tutorial to walk me through how to setup TeamCity CI server? I am new to unit testing and the agile philosophy of development so I could use some help getting my feet wet. I'm working with Asp.NET code using…
Agile Noob
  • 2,305
  • 4
  • 24
  • 35
44
votes
6 answers

Nuget Restore via build server "unable to find version"

I have a VS solution and as part of a TeamCity Build, we restore packages from both a private NuGet feed (myget) and the public feed (nuget.org). Most packages restore fine, but it hangs on the ones below for WebApi and Mono.Security. This is all…
Chris Kooken
  • 32,730
  • 15
  • 85
  • 123
43
votes
2 answers

Git short branch name in teamcity

I'm using teamcity 8.x.x version.I configured my Teamcity for continuous deployment. I'm need a feature branching deployment. I see this document "http://confluence.jetbrains.com/display/TCD8/Working+with+Feature+Branches". I'm trying this document…
Ömer Faruk Aplak
  • 889
  • 2
  • 9
  • 21
42
votes
4 answers

Channel is not opened Errors in automatic merge on Teamcity (git)

I am using TeamCity on ubuntu (TeamCity Professional 9.1.7 (build 37573)). And having some problems with automatic merges lately (git). I haven't changed anything in the configuration from when it used to work. I tried to remove the work directory.…
Oren
  • 589
  • 4
  • 10