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
9
votes
3 answers

Teamcity restore a deleted build configuration

Is there a way in teamcity to restore a deleted build configuration. I found Restore just deleted project which is about restoring a deleted project but can't find any information about restoring a deleted build configuration. I am using Teamcity…
Mohammad Nadeem
  • 9,134
  • 14
  • 56
  • 82
8
votes
2 answers

Configuring Java version for TeamCity

We have installed TeamCity on an OpenSuse machine. the version of TeamCity is 9.1.3. I have installed JDK 1.8 on the server but I am not using it as default Java. I want to update every Agent to build with new JDK (version 8) and if update was…
Govan
  • 2,079
  • 4
  • 31
  • 53
8
votes
2 answers

How to get TeamCity Build trigger filter to build feature branches but not default branch

I've created a Team City build to build the feature branches: Default Branch: refs/heads/development Branch Specification: refs/heads/feature/* I have a vcs trigger so it builds for every git push. But I don't want it to build when someone pushes to…
Fran Hoey
  • 895
  • 9
  • 18
8
votes
2 answers

Do not re-add build because of unexpected finish in TeamCity

How can I disable auto-restart tasks in TeamCity after a failed build? I can't find this option anywhere. I saw only one message in Overview section after auto-triggered build: "Re-added because of unexpected finish"
Timur Gilmullin
  • 261
  • 1
  • 7
8
votes
2 answers

How to order the display of build configurations in TeamCity?

I'm using TeamCity 9.0.2. I have one project with many configurations. Up until now, it's always seemed to order my build configurations alphabetically. Then I accidentally clicked on the x on the right and hid one of my configurations. When I unhid…
utahkay
  • 83
  • 4
7
votes
2 answers

Dynamically changing 'teamcity.build.branch'

I want to set the value of 'teamcity.build.branch' dynamically according to the result of another TC build configuration part of the build pipeline. Is that even possible? It looks like the value is evaluated and used at the start of the build…
Crazyjavahacking
  • 9,343
  • 2
  • 31
  • 40
6
votes
2 answers

Pass a Team City Parameter to a PowerShell file

I have the following parameter defined in Team City: I want to pass this parameter into a powershell script I have (that will update the xml file with the version number). But this inserts the actual text %version% into the script (No substitution…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
6
votes
3 answers

TeamCity step needs to be skipped on build failure condition

From my observations around how TeamCity works, I noticed that build failure conditions are evaluated after all the steps are done executing. This is quite annoying because I can't have a step which would not execute if any of the build failure…
Tengiz
  • 8,011
  • 30
  • 39
6
votes
0 answers

Nuget update to latest version with teamcity

Our builds use a mix of internally generated nuget packages and external third party ones. All package configs have allowedVersions="[1,3)" set on them to allow updating to the latest version as per https://docs.nuget.org/create/versioning. We are…
Bernard
  • 995
  • 2
  • 9
  • 20
6
votes
2 answers

Is there a way to force a default value for a parameter in TeamCity and not lose it once a different value has been set?

I have a parameter for which I'm showing a prompt. I've set a default value for it and that works fine. What doesn't work, however, is that if I choose to enter a different value when running the build, then on the next build this value…
carlspring
  • 31,231
  • 29
  • 115
  • 197
6
votes
2 answers

How can I prompt TeamCity configuration parameter for meta-runner?

I want to create meta-runner that will ask user to check checkbox ('prompt' configuration parameter) to confirm deployment to production. It contains PowerShell script that validate if checkbox is checked. Here is code of meta-runner:
leavelllusion
  • 329
  • 5
  • 11
6
votes
1 answer

Gradle test failed to find flowId on teamcity

We are using Teamcity 9.0.3 and we try to run gradle build with tests. But, it failed with the following exception: [15:25:41][:test] Failed to find flowId for [com.stub.AppTest] [15:25:41][:test] java.lang.NullPointerException: Failed to find…
Alexey
  • 412
  • 3
  • 17
5
votes
1 answer

Can not build app (.NET Framework 4.6.2) in TeamCity

I'm using TeamCity 9.1.3. We are using MSBuild Tools 15 to build our app. Our app was targeting 4.5.2 and everything went fine. Now we've changed the framework inside the app to 4.6.2. The developers are able to build their app locally by using…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
5
votes
3 answers

Failed to find Visual Studio .sln file - Dynamic parameter for build step template

I am fairly new to using TeamCity. We are currently using 9.16. I am trying to setup a build template to associate across our many projects and I keep getting the error "Failed to find Visual Studio .sln file" for both the NuGet Installer step and…
Chase Swanson
  • 127
  • 1
  • 9
5
votes
1 answer

TeamCity Parameterise VCS password

I am running TeamCity 9x and it seems that it does not support a VCS password parameter, meaning I have to either use SSH keys (proving difficult, but that's a separate issue) or enter the password for every build config which is unacceptable as we…
Myles McDonnell
  • 12,943
  • 17
  • 66
  • 116
1
2
3
21 22