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

Using SonarQube with TeamCity and C# / .NET

We use TeamCity as our build server - how does one setup TeamCity to run SonarQube analysis for C# / .NET solutions? I'm thinking we'll need to execute the MSBuild runner as a command line task since the TeamCity SonarQube runner doesn't call the…
John
  • 43
  • 1
  • 3
4
votes
0 answers

Deploy ASP.NET Core to IIS on TeamCity

I would like to setup automatic builds for my vNext project and deploy to IIS. In Visual Studio, we use the publish option, but is a way to do this from the command line and integrate with TeamCity.
kns98
  • 330
  • 2
  • 7
4
votes
2 answers

How can I generate release notes automatically from JIRA using TeamCity?

I use JIRA to store my my user stories and TeamCity to do my daily builds. I am trying to automate the generation of release notes (for only completed user stories) via the TeamCity build. Have you guys done this before?
Ahmed Gadir
  • 364
  • 1
  • 9
4
votes
0 answers

How do you install package on a build without solution file?

We have a teamcity server (v8) for building / deploying our web app. For a build we don't have a solution file (sln), only a csproj (and the packages.config). But teamcity asks for a sln file on a nuget installer step. How can we do ? note : we have…
remi bourgarel
  • 9,231
  • 4
  • 40
  • 73
4
votes
0 answers

How do I publish multiple NuGet packages from a single solution in TeamCity?

I have a Visual Studio 2015 solution with 3 C# projects that depend on each other: Project A -> Project B -> Project C I would like each of these projects to have their own independently versioned NuGet packages in TeamCity. I also would like to…
user1777663
  • 155
  • 1
  • 6
4
votes
1 answer

Teamcity - Global VCS Root for all projects

I am in-charge of ~40 TeamCity builds across 7 or so projects. Currently, they each have their own Git credentials, which is silly, because they are actually all using the same logon. They are only slightly different from each other, in that they…
Kirbinator
  • 213
  • 3
  • 8
4
votes
3 answers

How to set build agent priority in TeamCity?

I have two agents that can build my configuration. I've set up two because I sometimes need to do two simultaneous builds. How can I set build agent priorities to force TeamCity choose specific agent if both are idle and available? Now it chooses…
Anna Prosvetova
  • 1,427
  • 2
  • 10
  • 14
4
votes
3 answers

How do I use "\\company\network\share\" as a NuGet source in TeamCity?

I've checked that the TeamCity user has access to the network share in question. All packages from the public NuGet feed are found correctly while packages available on the network share are not. We use the network share when building via Visual…
Uli
  • 1,565
  • 14
  • 24
4
votes
1 answer

How can I get a list of the last build for each Git branch in the TeamCity REST API?

I have a TeamCity project, in which I've set the branch specification so as to allow the build to be triggered by a variety of branches which meet the filter criteria. So far so good. Now, I'd like to generate a report, which has, for each branch…
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
4
votes
1 answer

CSC error CS0006: Metadata file '......dll' could not be found - But file exists

CSC error CS0006: Metadata file 'C:\BuildAgent\work\cbcbc45410f50008\Output\bin\Release\abc.xyz.dll' could not be found. On a teamcity build that worked fine until now, the build starts intermittently failing for the CS0006 error. I see a lot…
Alexius Luke
  • 41
  • 1
  • 4
4
votes
2 answers

Pass argument with quotes to PowerShell script via TeamCity

We're calling a PowerShell script via TeamCity. We want to pass a parameter which contains quotes, e.g.: Build step : PowerShell Script file : foo/bar/my.ps1 Script arguments : -MyParam "%system.MyParam%" Where system.MyParam is set to…
D.R.
  • 20,268
  • 21
  • 102
  • 205
4
votes
2 answers

Is it possible to push changes to a VCS root in Team City?

As the title says, I am currently running a build in Team City where the VCS root is pointing to a github repo. I would like to run this build where it also updates property files within my github repo. I have only found ways to publish artifacts…
david
  • 69
  • 2
  • 9
4
votes
0 answers

CruiseControl [.Net] vs TeamCity for continuous integration as of 07/2015?

The issue that I see with technology comparison questions is that they tend to be outdated relatively quickly in Stackoverflow - so much that I even feel the need for Stackoverflow framework itself should reopen the questions sometimes. And I feel…
user3141326
  • 1,423
  • 2
  • 21
  • 31
4
votes
2 answers

Nuget restore not downloading dll in lib folder

I have a Team City Nuget build setup which works fine. However, I have tried to update some nuget packages, one of them being: Microsoft.AspNet.Mvc. This was updated from version 5.2.2 to 5.2.3. This broke the build. Examining the logs I noticed…
Jonny
  • 2,787
  • 10
  • 40
  • 62
4
votes
1 answer

Visual Studio 2010 - WDP or Publish for automated deployment?

I'm about to upgrade to Visual Studio 2010, and I'm learning that there are now a few options for deploying web application projects. I've been using Web Deployment Projects in 2008, and my initial thought was to do the same in 2010. Is there any…
jrummell
  • 42,637
  • 17
  • 112
  • 171