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

Can I deploy a configuration file along with the generated jar in Maven

I have a DropWizard Java project, which builds a Shaded Jar when I run mvn package. I have this project being build through TeamCity, and deployed the generated Jar+Pom to Artifactory. To run this project, I need a configuration Yaml file. This file…
user171943
  • 1,325
  • 3
  • 12
  • 18
4
votes
3 answers

Change value in app.config within TeamCity

Within the Visual Studio solution that contains all our unit tests we have some text files. These text files are checked based on some results generated by our unit tests. In order to load the files we have an app.config with:
TheEdge
  • 9,291
  • 15
  • 67
  • 135
4
votes
2 answers

How to delete TeamCity tags across all builds?

The only way I can find to delete a TeamCity tag is to remove all references to the tag from all builds. This is a manual and laborious process. Is there a way to do it automatically?
Jack Ukleja
  • 13,061
  • 11
  • 72
  • 113
4
votes
1 answer

Teamcity - generate artifact from Powershell

I'm using a Powershell build step and want to generate a file and have it included in the artifacts. Here's what I tried, but it doesn't appear: param( [parameter(Mandatory=$true)] [string]$controller ) Write-Output "Controller:…
Ben Power
  • 1,786
  • 5
  • 27
  • 35
4
votes
1 answer

Nuget Package Restore: .Net Version Error on Target

For some reason when Building my application with TeamCity it insists on trying to install "System.Runtime 4.0.20". I then get the following error: [update] WARNING: Package 'System.Runtime 4.0.20' does not exist in project…
K-Dawg
  • 3,013
  • 2
  • 34
  • 52
4
votes
1 answer

Random build failures on Teamcity

I use Teamcity as my build server, and I have multiple agents, and an agent has multiple Xcode versions installed on it. Just as I started to use Xcode7.3 on my build agents, I randomly run into a build issue. When I run into this issue, I see…
thorax
  • 574
  • 1
  • 5
  • 16
4
votes
3 answers

Trouble building build over Web interface

I set up a CI server for Xamarin.Forms using TeamCity on a mini Mac. When I run the build command from the terminal as root it builds successfully, but when I try to fire up a build from the Web UI it fails with the following…
Amr Reda
  • 632
  • 7
  • 18
4
votes
1 answer

Testing python project with Tox and Teamcity

I have project with very simple configuration matrix, described in tox: py{27,35}-django{18,19} I'm using TeamCity as the CI-server, run tests with py.test with installed teamcity-messages. I've tried to run every configuration like tox -e…
prokaktus
  • 582
  • 5
  • 12
4
votes
2 answers

Show in GitLab TeamCity builds status

I've managed to configure TeamCity to automatically pull the new checked-in changes from GitLab and build it. Next step I would like that the build status icon in GitLab reflects the build status from TeamCity. At the moment each build TeamCity…
Claudiu
  • 275
  • 1
  • 3
  • 9
4
votes
6 answers

How to retrieve Build Status in XML from TeamCity

I need to retrieve the Build Status from TeamCity in the form of XML, RSS format would be ideal. I am familiar with the RSS feed within Teamcity but that is of no use as it is more of a history view. I am looking for something more like the page…
David Christiansen
  • 5,869
  • 2
  • 36
  • 42
4
votes
1 answer

TeamCity slow msbuild since upgrade to 9

We have upgraded from TeamCity 8 to 9 and our .net builders increased their build time from 3 minutes to 15 minutes. We started investigating this issue, by doing the next steps: Enabled "Performance Montioring" build feature - and we saw the disk…
Yosi
  • 2,936
  • 7
  • 39
  • 64
4
votes
2 answers

TeamCity Custom Build Number - AssemblyInfo patcher

I have created a TeamCity build configuration which suits my needs, see build log below: It's all working great except for 1 thing - Custom Build Number. My build number format is as follows: Major.Minor.BuildCounter.TodaysDate, i.e.…
c0D3l0g1c
  • 3,020
  • 5
  • 33
  • 71
4
votes
1 answer

TeamCity already has a dependency defined for

Let me start out by saying, I am completely new to TeamCity. The project I am building was built with VS 2013, so I have my Nuget version set to 2.8.6. I saw in some other posts that this issue normally happens from not running the latest nuget…
Steven Ackley
  • 593
  • 7
  • 31
4
votes
2 answers

How can I allow more than 1 agent to build?

On Agent Requirements, I've set: system.agent.name EQUALS agent1 Now, the build only runs on agent1. How can I make the build able to run either "agent1" and "agent2"? So for example, if "agent1" is busy, then "agent2" is allowed to run instead.
alansiqueira27
  • 8,129
  • 15
  • 67
  • 111
4
votes
1 answer

Throw an exception within an batch file

I have created a couple of batch files to aid in the automation process of my deployments. They work great, but I want to be able to have the file bomb out if a problem is found, obviously reporting the problem. I am planning on integrating the…
JamesStuddart
  • 2,581
  • 3
  • 27
  • 45