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
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
  • 10
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
  • 15,272
  • 23
  • 77
  • 113
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,920
  • 5
  • 33
  • 64
19
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
  • 42,091
  • 47
  • 181
  • 266
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,626
  • 19
  • 28
14
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
  • 4,008
  • 7
  • 36
  • 45
13
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
  • 42,571
  • 24
  • 140
  • 158
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,994
  • 2
  • 31
  • 49
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,136
  • 1
  • 14
  • 30
10
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,594
  • 12
  • 61
  • 111
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,409
  • 12
  • 23
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…
SpaceDust__
  • 4,844
  • 4
  • 43
  • 82
9
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
  • 311
  • 1
  • 3
  • 10
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
  • 311
  • 1
  • 3
  • 10
9
votes
3 answers

Run a build step on a specific branch only

I have a build configuration containing two build steps "Build" and "Deploy". This build configuration is using a Git VCS and is configured to run all branches. Let's assume that I currently have two branches "master" and "Feature in Development". I…
dwonisch
  • 5,595
  • 2
  • 30
  • 43
1
2 3
21 22