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

Launchd PATH issue with TeamCity

I recently asked this question, and got everything working appropriately. The build agent is launching, RAM disk is being created. It seems that there is an issue with the PATH environment variable. When I run the same command from terminal, all my…
Chris Kooken
  • 32,730
  • 15
  • 85
  • 123
3
votes
1 answer

Is it possible to "group" build configurations in TeamCity to share dependencies?

I have a project with the folloging build configuration: build, mediumTests, largeTests, deploy. Dependencies are like this: build <-- mediumTests <-- deploy ^------ largeTests <--------| (I hope this graphic and the following…
tchick
  • 357
  • 4
  • 14
3
votes
1 answer

Configure cucumber in TeamCity to run unit tests only using tags (Maven)

I have both unit and acceptance tests in a maven project (spring boot). I would like to run unit tests only when my build runs in TeamCity. I am using cucumber. When i run the tests via command line, everything works as expected (only unit tests are…
sawe
  • 1,141
  • 14
  • 24
3
votes
1 answer

TeamCity How to Trigger a Dependent Build with a Different Logical Branch Name

I have an application Project A that depends on a shared library Project B, with each project having its own VCS Root (different Git repository). Each project versions independently, e.g. Project A could be at 1.0 while Project B is at version 2.0.…
3
votes
0 answers

Git error: refs/[branch name] does not point to a valid object

Our CI server (TeamCity) is failing due to references that can no longer be resolved. These are branches that have been deleted from GitHub. Output from fsck: Checking object directories: 100% (256/256), done. Checking object directories: 100%…
Ben Foster
  • 34,340
  • 40
  • 176
  • 285
3
votes
1 answer

HTTP Error 401: Unauthorized using urllib.request.urlopen

I'm using urllib.request in python to try and download some build information from Teamcity. This request used to work without username and password, however a recent security change means I must use a username and password. So I have changed tried…
John
  • 787
  • 4
  • 11
  • 28
3
votes
0 answers

How to automate Teamcity installations?

I'm using Kennedy Oliveria's incredibly helpful Docker image to create a Teamcity installation. Is there any way to further automate the installation to include the steps that are currently manual: Creating an admin account Adding LDAP…
razeh
  • 2,725
  • 1
  • 20
  • 27
3
votes
3 answers

How to make TeamCity build fail if artifacts are not found?

Is it posible to fail TeamCity builds if artifacts are not found? I mean without writing any special script, i.e. does TeamCity has such built-in functionality?
Paulius Liekis
  • 1,676
  • 3
  • 18
  • 26
3
votes
1 answer

Any other way to put a value next to build name except 'teamcity.build.branch'?

Is there any other way to put a value next to build name except 'teamcity.build.branch'? I need to specify a metadata next to each build that might be dynamic or might be result from a previous build configuration part of the build chain using TC…
Crazyjavahacking
  • 9,343
  • 2
  • 31
  • 40
3
votes
1 answer

Generate Released apk using keystore in teamcity Android

I am exploring Android app in teamcity.I have already install teamcity plugins in android studio.its working fine.but i want to generate signed apk using teamcity tool. can anyone help me Which build step included to generate signed apk? Thanks in…
dipali
  • 10,966
  • 5
  • 25
  • 51
3
votes
1 answer

dotnet test - exit code 0 when test project doesn't compile

I'm using TeamCity to build my .NET Core project and dotnet test with xunit to run tests. My build is configured to fail if any tests fail, and this works fine if a test fails, but when the test project doesn't compile the exit code ends up being…
severin
  • 5,203
  • 9
  • 35
  • 48
3
votes
1 answer

How to build SSRS reports (rptproj) with TeamCity and Visual Studio 2015

We have a build step to build a solution with about 70 projects using the Visual Studio (sln) as the runner type. We are able to successfully build other projects that are not supported by MSBuild, such as a vdproj file and office plug-ins by doing…
3
votes
0 answers

Commit status publisher error persists after being deleted

I tried to add the Build Feature: Commit status publisher. However received the below error. It's most likely that my user does not have access and I decided to investigate this at a later stage. I deleted the Build feature expecting the relevant…
Aldracor
  • 2,133
  • 1
  • 19
  • 27
3
votes
1 answer

Integrating NCrunch w/ TeamCity

Does anybody know of any resources/guides on getting NCrunch integrated w/ TeamCity? My company just started investing in more automation research and development; I am working on creating the automated testing suite using NCrunch while another…
Milo
  • 3,365
  • 9
  • 30
  • 44
3
votes
1 answer

Running build configuration from another

I want to make a build configuration that deploys to our dev server and runs every test (fast and short). I have a build configuration for doing a production deploy (no tests) but I want to modify it so the production deploy first triggers a dev…
LearningJrDev
  • 911
  • 2
  • 8
  • 27