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

Play sound when automated build fails

We are using TeamCity v4 and NAnt for continuous integration builds on a server in our work area. We would like to have the build server play an mp3 or wav file when the build fails. Anyone has any ideas around this?
edfoh
  • 95
  • 1
  • 6
3
votes
0 answers

Auth error when doing a agent checkout on teamcity using ssh

I'm having issues checking out code on the agent with teamcity 9.1.6. I'm using git and ssh with the ssh key being uploaded into teamcity. If I checkout on the server, it works. If I checkout on the agent using username/password, it works. But ssh…
Andrew Davis
  • 460
  • 3
  • 17
3
votes
2 answers

How is the references created to fsc when building a F# project?

We have a F#-project that fails to build on teamctiy and can't figure out the solution to it. It seems like when building through teamcity the arguments to fsc is not correct for us. If I run msbuild /t:Rebuild /p:Configuration=Release manually on…
Tomas Jansson
  • 22,767
  • 13
  • 83
  • 137
3
votes
3 answers

Performance of PowerShell script reading files is too slow

I'm currently working on a PowerShell script that is going to be used in TeamCity as part of a build step. The script has to: recursively check all files with a certain extension (.item) within a folder, read the third line of each file…
Niles11
  • 553
  • 1
  • 6
  • 17
3
votes
1 answer

How do I disable users in Teamcity?

If somebody has left my firm, how do I disable their account in Teamcity. I only see a delete option. I'll lose the configurations set by the user if I delete him right? Is there a disable/Deactivate user option?
John Miller
  • 513
  • 2
  • 8
  • 23
3
votes
1 answer

TeamCity parameter specification referring to another parameter?

I am using the latest version of TeamCity and I am trying to make a parameter specification that refers to parameters. I tried making a select (combobox), where the options of the checkbox are referring to variables. This should be possible, as…
Mathias Lykkegaard Lorenzen
  • 15,031
  • 23
  • 100
  • 187
3
votes
4 answers

package.json versions and teamcity

We are using TeamCity for our builds and deployments, and as part of this we are wanting to have TeamCity define the version number in the package.json file. We historically were using gulp-bump which would bump the version number however TeamCity…
Grofit
  • 17,693
  • 24
  • 96
  • 176
3
votes
1 answer

TeamCity Trigger Build when specific c# Project is changed

I have a Solution like so, repo'd in Git: AwesomeSln ---Web.csproj ---Services.csproj ---Core.csproj ---UnitTests.csproj ---SDK.csproj Most of the solution is Web, and the CI is handled by Azure. Tests run, web is published, wutevz. But the SDK…
Suamere
  • 5,691
  • 2
  • 44
  • 58
3
votes
1 answer

WebDeploy: merge content

I have 2 builds (in TeamCity): One that produces a backend for a website, with WebAPI. I package that website with WebDeploy as such: /p:DeployOnBuild=True /p:PublishProfile="Default" /p:ProfileTransformWebConfigEnabled=False Which delivers me a…
Anemoia
  • 7,928
  • 7
  • 46
  • 71
3
votes
1 answer

Illegal characters in path when running TeamCity VSTest build step

I am trying to execute unit tests on TeamCity (version 9.1.6 build 37459), using the built-in Visual Studio Tests runner. The reason I'm using this is that some of the unit tests are using Fakes assemblies and cannot be executed using MSTest. When…
Karel Frajták
  • 4,389
  • 1
  • 23
  • 34
3
votes
1 answer

TeamCity seems to ignore exit code from NUnit

I've got a build that completed successfully, but the number of completed tests is about 50% lower than I was expecting. On closer inspection, it seems that the Mono instance running NUnit died with SIGABRT. (!!) Yet TeamCity still considers this a…
MathematicalOrchid
  • 61,854
  • 19
  • 123
  • 220
3
votes
0 answers

Teamcity 9 - Artifact dependencies parameters

My question is about the artifacts dependencies parameters. I have different branches add same configurations running on these branches in projects. In some configurations I consume an artifact dependency specific to the branch. And I have different…
fsureau
  • 31
  • 2
3
votes
1 answer

TeamCity and Maven support

I noticed that TeamCity is not supporting Maven 3.3.x as a bundled plugin. So I placed Maven version (latest) under TeamCity master (TC/plugins/.tools) and it deployed the Maven to all build agents. The problem is that there are missing…
Nir Koren
  • 241
  • 4
  • 11
3
votes
1 answer

Set Nuget package version number in TeamCity

I am using TeamCity to build my solution and then package it up and add it to the TeamCity hosted Nuget Server. The nuspec file has a version number added 1.00, but I want this to be updated to be the same as the build number…
Karl Gjertsen
  • 4,690
  • 8
  • 41
  • 64
3
votes
0 answers

Simple approach to updating AssemblyInformationalVersion via TeamCity's AssemblyInfo patcher feature

By default a Visual Studio C# Library/Console etc project comes with an AssemblyInfo.cs file that does not include AssemblyInformationalVersionAttribute. TeamCity allows patching this attribute if found in AssemblyInfo.cs using AssemblyInfoPatcher.…
aateeque
  • 2,161
  • 5
  • 23
  • 35