Questions tagged [teamcity-9.0]

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 historicall related to Hudson) and Cruise Control.

Useful Links

320 questions
0
votes
1 answer

TeamCity build fails without windows kits reference in proj file

I'm having an issue on teamcity (9.1.7). I don't have visual studio installed on the build server. I have installed visual studio test agents and msbuild tools. Building one of the project fails with this error- C:\Program Files…
newbie_86
  • 4,520
  • 17
  • 58
  • 89
0
votes
2 answers

Initialize the build.number with the version in the AssemblyInfo.cs

Question How can I read the version from the AssemblyInfo.cs file and set it as %build.number% in TeamCity? More Info Basically I want to read the version (2.2.0) in this example: // Setting ComVisible to false makes the types in this assembly not…
A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
0
votes
1 answer

TeamCity / BitBucket - Commit Status Publisher

We've got our source code up in BitBucket cloud and we're using TeamCity, with the "Commit Status Publisher" plugin. I was using our repository url (for example https://bitbucket.org/test/test.git) as the "Stash base url", which worked for a while,…
Andrew Boyd
  • 171
  • 1
  • 12
0
votes
3 answers

How to get the TeamCity working dir in a powershell build step

In my TeamCity project I have a PowerShell build step, I need to get the current working dir of team city in the script. I tried this code to get it from the environment variables, however, the environment variable is apparently null: "Working Dir:…
A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
0
votes
1 answer

build.number is not fully resolved

Description In TeamCity, I set the {my project} > General Settings > Build number format to the parameter %build.number%. Apparently TeamCity cannot resolve this parameter and I get #??? as my build number and also the warning message…
A-Sharabiani
  • 17,750
  • 17
  • 113
  • 128
0
votes
1 answer

Unable to push the TeamCity built code into SonarQube

We've integrated TeamCity with the SonarQube as a part of our build process. When ever I run the sonar job in TeamCity, after the build is complete I see the build version in SonarQube but the code(LOC-Lines of code) is not being pushed. We are…
0
votes
1 answer

Vault and TeamCity

I have TeamCity 9.1.6 up and running, and it was previously working with Vault 9.0. I upgraded Vault to version 9.1, which is the latest, and now TeamCity errors when checking for source code changes. The message is: Error collecting changes for…
Andy
  • 8,432
  • 6
  • 38
  • 76
0
votes
2 answers

TeamCity Build "Process exited with code 128"

Since I changed the message with a commit and forced push it, team city is displaying this error on the build and all of my next pushes aren't sent to the server. The changes aren't sent. I don't know how to deal with this error, didn't find…
Von
  • 178
  • 1
  • 20
0
votes
2 answers

How to trigger TC builds on specific commit comments only

I'm using TC 9.0 with Git. I would like to setup VCS Triggers for all pull requests merges only. I've tried with VCS Trigger Rules: -:** +:comment=^Merge pull request:** but with no luck so far (it didn't caught any change no matter of commit…
Marek
  • 1,688
  • 1
  • 29
  • 47
0
votes
1 answer

TeamCity - AssemblyInfoPatcher not using updated variable

I'm changing the build number of the TeamCity (9.1.4) build with service messages (Build Script Interaction) like this in Powershell: Write-Host "##teamcity[buildNumber '$version.$arg2']" This is working absolutely fine. The problem is that the…
Shamshiel
  • 2,051
  • 3
  • 31
  • 50
0
votes
1 answer

TeamCity API - Determine which build step(s) caused the failure

I'm working on metrics collection, and it would be very useful to know how many builds failed due to tests, compilation, etc. I can collect the status from the build object in the API, but I can't figure out how to determine which step (or steps)…
Asmoran
  • 45
  • 6
0
votes
0 answers

TeamCity SSH connection to Gerrit not closed

We're using both TeamCity and Gerrit. For some connections to Gerrit TeamCity does not close the connection. This does not happen all the time, but frequently enough to cause problems. After a couple days the max allowed concurrent connections of 64…
JohanKees
  • 669
  • 1
  • 12
  • 22
0
votes
1 answer

TeamCity automatically update sources and merge to git repo

Does anyone know if it is possible to update source files during a build (from an external source for e.g. like checking if there are new translations and merging those in) and then merge those changes to a git branch via a Pull request with…
source.rar
  • 8,002
  • 10
  • 50
  • 82
0
votes
2 answers

Nuget Packages not available in TeamCity

We are experimenting with using Octopus for CD using TeamCity. We have enabled OctoPack to create the Nuget Packages for use during the deployment. We also are experimenting with building libraries and using the integrated Nuget Server. We were…
swhite
  • 31
  • 5
0
votes
1 answer

The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime" from TeamCity

I'm getting the above error from our TeamCity build. I have tried adding the following lines to the web.config. I…
DomBurf
  • 2,452
  • 5
  • 36
  • 71