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

319 questions
42
votes
4 answers

Channel is not opened Errors in automatic merge on Teamcity (git)

I am using TeamCity on ubuntu (TeamCity Professional 9.1.7 (build 37573)). And having some problems with automatic merges lately (git). I haven't changed anything in the configuration from when it used to work. I tried to remove the work directory.…
Oren
  • 589
  • 4
  • 9
25
votes
2 answers

How to run a build step conditionally in TeamCity

This is a more generic version of this question: How to run a build step on a specific branch only? For example, I can use a PowerShell script to run MSBuild if '%teamcity.build.branch.is_default%' -eq 'true' or if '%teamcity.build.branch%' -eq…
orad
  • 12,746
  • 18
  • 69
  • 107
20
votes
2 answers

Teamcity 9: How to add git short hash into assembly info patcher

I'm trying to use assembly info patcher to create a version number something like: 1.2.3.1a3c19e where the last bit is the git short hash. I've tried using a powershell script build step to create the short hash (as I cant find a variable that has…
Neil P
  • 2,349
  • 3
  • 20
  • 48
17
votes
3 answers

TeamCity - How can I copy a VCS Root?

Does anyone know if its possible to copy a VCS Root in TeamCity? The normal trick of going into the edit page and dropping down the Actions combo doesn't work, only has Move as an option.
Luke Puplett
  • 36,042
  • 37
  • 161
  • 231
14
votes
1 answer

error APPX3212: SDK root folder for 'Portable 7.0' cannot be located

I'm trying to build my solution using TeamCity / MSBuild. It's a WebAPI project which shares some entities in a PCL with a mobile client. I see there are a few caveats around getting the PCL reference libraries installed on a buildserver, which I…
Dave R
  • 1,506
  • 17
  • 26
12
votes
2 answers

How/Where to set reverse dependency parameter (reverse.dep) in TeamCity?

I have a TeamCity build configuration A and B, where B is dependent on A. I need to pass a parameter from B to A when B is triggered. This is related to question: Override dependencies properties by parameters value in TeamCity 9 and the teamcity…
sppc42
  • 2,248
  • 16
  • 34
12
votes
1 answer

How to set up SSH authenticated git commands in a TeamCity build step

I need to execute git commands in a TeamCity build step. These git commands need to use a SSH-based url for the git repo in order to authenticate as a priviliged user to the git server (because these git commands will actually modify the git repo,…
Klas Mellbourn
  • 35,589
  • 18
  • 119
  • 143
11
votes
2 answers

Teamcity fails to merge automatically

Given there are master and dev git branches, a git repository is hosted on the Github and TeamCity 9.0.1 installed as a CI server. The teamcity build project is configured to use github repository as a VCS root with refs/heads/master set as a…
Andrey Pesoshin
  • 1,096
  • 1
  • 12
  • 30
10
votes
2 answers

Ant Pattern Matching - * vs. **

We are using TeamCity to produce *.nupkg artifacts which we don't want to be cleaned up. TeamCity provides a field where you can specify an ANT-style pattern for indicating which files you do or don't want to be cleaned up. Let's assume for a second…
jakejgordon
  • 3,778
  • 6
  • 31
  • 43
10
votes
9 answers

Unable to find the maintenance token for TeamCity in the server log

I installed TeamCity on Windows Server 2012. It has been working fine setting up a few builds. I then attempted to install some plugins by putting .zip files in the ~/.BuildServer/plugins folder. I restarted the server by cd'ing to c:\TeamCity\bin…
fredw
  • 1,381
  • 11
  • 22
9
votes
2 answers

Select Git branch for TeamCity Build Configuration

I want to accomplish following via teamcity in my CI box. Master branch commit : Build and Release Beta branch commit: Build and Release to Crashlytics All other commits to any other branch: Build (side note since most of our development branches…
u.gen
  • 4,757
  • 4
  • 39
  • 76
9
votes
1 answer

TeamCity - Unable to authenticate via API

I've been struggling with authentication in TeamCity through the API lately. I can access the resources directly in my browser (http://usr:pw@teamcity:8111/httpAuth/app/rest/...), but doing so programmatically returns 401-Unauthorized. WebRequest…
frods
  • 181
  • 2
  • 9
8
votes
2 answers

Change build template in TeamCity

How do I change the build configuration template for a project? Previously my TeamCity project was using a generic build template which is used by 5 other projects. I created a new template by copying an existing template and made changes that are…
joe
  • 281
  • 1
  • 3
  • 10
8
votes
1 answer

How to use existing teamcity database with new Teamcity server installation of 9.1 version

Recently, I have moved to new server and installed latest Teamcity version 9.1. I want to import the same data into new installation but unable to connect to existing database. Followed the following links…
sam
  • 4,388
  • 10
  • 56
  • 109
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
  • 251
  • 1
  • 6
1
2 3
21 22