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

Run TeamCity Build Step on a specific Agent

I've got TeamCity installed and working, and I need to have a build step run on a particular build agent (everything's running on Windows, but we have a Mac portion I need to build as well). How do I tell the build step what agent I want it to run…
Jerod Venema
  • 44,124
  • 5
  • 66
  • 109
3
votes
1 answer

Teamcity: how to checkout root directory, but watch changes only from subdirectory

We use Teamcity 2018 together with TFS. We have one project in which the structure is following Root <---- We want to checkout the whole Root-directory \ProjectA <---- We want to show changes only from the sub-directory …
Mtq
  • 53
  • 7
3
votes
1 answer

TeamCity - SVN and Labelling: How to do it correctly?

I've read all the TeamCity, SVN and labeling questions in S.O. but none seams to apply to my specific problem. Here we have the following structure on the SVN: svn://server/root /projectA /trunk /tags …
Paulo Santos
  • 11,285
  • 4
  • 39
  • 65
3
votes
0 answers

Changing branch name from to master

In TeamCity 2018.1.4 (build 58724), I have a couple of projects with feature branches. In one project, the master branch is correctly named as master, whereas in another project, no matter what I try, it remains as . The feature branches…
woter324
  • 2,608
  • 5
  • 27
  • 47
3
votes
1 answer

How to make a Bitbucket POST webhook to TeamCity?

I've already serched and struggled on this argument... without success. Setup: Bitbucket Cloud Local TeamCity server and agents The problem is the following: run build with webhooks and not with polling. TeamCity side, for trig a build there are…
Andrea Franchini
  • 548
  • 4
  • 14
3
votes
1 answer

Error building android project with gradle using teamcity

Using team city to build and android app. keep getting an error. [16:59:38] [Step 1/1] Execution failed for task ':app:mergeDebugResources'. org.gradle.internal.UncheckedException: java.util.concurrent.ExecutionException: …
user1450877
  • 421
  • 5
  • 16
3
votes
1 answer

TeamCity buildStatus service message not making success

I'd like to halt remaining build steps at a step. Both official document and so answer guide to do as below; echo "##teamcity[buildStatus status='SUCCESS' text='Automation disabled']" But to make halt builds at the step, I think I should put exit 1…
Youngjae
  • 24,352
  • 18
  • 113
  • 198
3
votes
1 answer

How to setup a unversioned settings file and read from it in TeamCity

I have a settings file settings.json, which holds api authorization key that is required for the test project to run and successfully pass all the test cases. I have included settings.json in the .gitignore so I do not accidentally publish the api…
vyshak s
  • 33
  • 3
3
votes
1 answer

Teamcity build with YAML file as input

I'm trying to use a YAML file as a standard-in to teamcity to pass build parameters. (user will copy the yaml file as stdin) . which build runner should i use to achieve this. I can find command line as a build runner.but it simply use arguments to…
Markus
  • 369
  • 4
  • 16
3
votes
1 answer

2 Teamcity Web applications have problems accessing git repository

I have 2 separate Teamcity web application instances running on separate servers accessing the same git repository. This seems to be causing issues with the VCS root configuration. The specific error message is: Error collecting changes for VCS…
rohitsan
  • 1,001
  • 8
  • 31
3
votes
1 answer

Missing NUnit extensions while using bundled NUnit tool

Having configured NUnit step using a bundled NUnit tool like that: I am having difficulties with following message appearing at the beginning of the log once step is executed: The TeamCity NUnit runner requires the following NUnit extensions to be…
Janek Królikowski
  • 1,101
  • 1
  • 9
  • 10
3
votes
1 answer

How can I have Teamcity Artifactory plugin invoke bootJar instead of Jar in Gradle?

We are using Gradle 4.8.1 to generate Spring Boot executable jars. This works fine locally. However, we are using Teamcity to publish our artifacts into Artifactory. The issue is, to my understanding, that the "artifactoryPublish" task invokes the…
sj0509
  • 223
  • 2
  • 10
3
votes
1 answer

Allure Reports Team City plugin causing builds to just hang on build step that runs tests

I'm trying to get allure reporting working as part of an NUnit project in C# using Selenium WebDriver. Following the documentation for installing allure seems to work fine on a local machine but I'm trying to get the Team City plugin to also work…
Ant
  • 31
  • 1
3
votes
0 answers

Teamcity - how to watch a specific folder on a build agent, but keep access to .git?

I currently have a VCS checkout rule that monitors a single folder inside a repo. I need access to the .git folder in order to run some git commands as part of my build process. I'm not an expert on teamcity, but my understanding is that these two…
Neil P
  • 2,920
  • 5
  • 33
  • 64
3
votes
1 answer

Breaking the build in TeamCity if .NET Core unit tests running under Docker have code-coverage less than 90%

I have recently been looking at Docker, and how I can use TeamCity to run .NET Core unit tests in Docker containers as part of my build pipe-line. I add this as the final line in my Dockerfile to be able to run tests: ENTRYPOINT ["dotnet", "test",…
Steve_333
  • 133
  • 10