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

TeamCity and FXCop version 10

We are trying to get our TeamCity 5.1 installation to use our FXCop project file. It apparently does not like the newest version, V10: [08:26:33]: Failed loading FxCop project. [08:26:33]: Error text: This project file is version 10.0 but the…
jslatts
  • 9,307
  • 5
  • 35
  • 38
3
votes
3 answers

How to escape backslashes in variable of File content replacer teamcity

For example if I need replace some string to %teamcity.agent.work.dir%\\nd_r\\bin\\isf. But if variable teamcity.agent.work.dir is C:\BuildAgent\work\, it removes all backslashes and replace text to C:BuildAgentwork\nd_r\bin\isf. How I can escape…
Mois
  • 107
  • 8
3
votes
1 answer

Team city breaks build based on code coverage

That's basically the idea. I own a project and I want to break any new build on TeamCity based on a code coverage percentage. As simply as: this percentage can never go down. This way I ensure that new commits are covered.
Rober
  • 726
  • 8
  • 27
3
votes
2 answers

How can I automatically build merge requests when using GitLab and TeamCity

I'm using GitLab 8.3.2 and TeamCity 9.1.6. I've set up the JetBrains TeamCity CI service and it is triggering builds in TeamCity when changes are pushed to GitLab. I'd like it to also trigger a build when a merge request is created (my understanding…
Programming Guy
  • 7,259
  • 11
  • 50
  • 59
3
votes
3 answers

TeamCity: Get a whole directory of artifacts using REST API

Using teamcity's REST API it is possible to retrieve a single artifact by URLs of the form http://myserver.com/httpAuth/app/rest/builds/id:85755/artifacts/files/bin/app.exe How can I obtain an entire directory? The following doesn't…
chtenb
  • 14,924
  • 14
  • 78
  • 116
3
votes
2 answers

teamcity incremental build MSBuild

I have .NET .sln solution that contains about 40 projects, that I build using MSBuild in teamcity ( ). And every time it completely rebuilds all projects, that solution contains. When I build it using my Visual Studio - projects isn't rebuilt…
Mois
  • 107
  • 8
3
votes
2 answers

How can I run a Xamarin.UITest from the commandline?

I would like to run tests (made using Xamarin.UITest) on my build server, which runs TeamCity on OS X. I have searched online on how to do this, but I am only able to find how these tests can be submitted to Xamarin Test Cloud. This is not what I…
vrwim
  • 13,020
  • 13
  • 63
  • 118
3
votes
0 answers

Angular cli and teamcity

I need to build and run unittests on my angular 2 project on Teamcity. Locally i'm using angular CLI to build and run unittests and i want to do this on Teamcity as well. I just can not find any documentation for this. I have made a powershell…
Poku
  • 3,138
  • 10
  • 46
  • 64
3
votes
1 answer

Issues in moving build configuration in teamcity

I am working on Team-city 9.x. I have some build failures in one of the release project. although we have disabled the build and we do not want to run the build. I am trying to move the build to another project (Disabled builds) but I cannot move…
revzzz
  • 103
  • 10
3
votes
0 answers

Team City build failing almost as soon as git checkout starts with java.lang.NullPointerException

My team city release build has randomly started failing. The only thing I can think of is a recent build of a different branch that was pushed as a release build. But we have done that before without problems. I've tried cleaning the checkout…
Tyson
  • 14,726
  • 6
  • 31
  • 43
3
votes
1 answer

Agent runs unknown build we're not aware of

Description For some reason my .Net Build Agent randomly gets disconnected and I see this message (please see the screenshot): Agent runs unknown build we're not aware of Question What is the reason for this behavior?
A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
3
votes
1 answer

Converting a TeamCity VCS commit to modification ID

I'm trying to run a TeamCity build via the REST API using a particular git commit. Creating a new build via the API requires a TeamCity modification ID, not a git commit reference. How can I convert a git commit to a TeamCity modification ID? The…
MunkyJunky
  • 379
  • 4
  • 14
3
votes
0 answers

Teamcity and Hub integration

I have installed YouTrack, TeamCity, Upsource and Hub on os x. I have configured them to interact with each other. I have installed the TeamCity Hub Plugin to enable the connection between teamcity and the hub, they can see each other and the users…
user5661968
3
votes
3 answers

How to use Python requests module and TeamCity API to trigger a build?

There is a cURL example in section Triggering a Build of TeamCity 9.x Documentation: curl -v -u user:password http://teamcity.server.url:8111/app/rest/buildQueue --request POST --header "Content-Type:application/xml" --data-binary @build.xml I'd…
Zhongde Yu
  • 33
  • 1
  • 6
3
votes
2 answers

How to use Provisioning certificate for iOS build using TeamCity

Right now I am using Xcode Plugin which is provided by TeamCity only. This Plugin is working fine for Building the solution. But when I want to create iOS application build for testing on real devices. Every time it's giving me [18:07:32]Step 1/1:…
Pramod Raut
  • 677
  • 3
  • 9
  • 22