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

AssemblyInfo.cs issue with TeamCity

I have an issue with a C# project. When built from Visual Studio (or by using MSBuild from command-line), the project is compiled with no issue. However, we are also working with TeamCity and the compilation fails: [16:41:51][Step 1/1] (CoreCompile…
mcastron
  • 41
  • 3
4
votes
1 answer

Team City Jenkins Pipeline Equivalent? Is it possible to import a script into another script?

In Jenkins-pipelines there is the concept of Shared Libraries, where you can have parts of the pipeline extracted into another class to re-use in multiple other Jenkinsfile's. I am new to TeamCity and following this post to set up a Configuration…
bp2010
  • 2,342
  • 17
  • 34
4
votes
2 answers

How to trigger a script on a Teamcity CMD step failure?

I have a TeamCity job that runs a CMD step with an inline bash script. If a user cancels the job or it fails, I want to send a notification via tcp to another system. I put a trap handler into the script but the trap is not triggering, suggesting…
Tom
  • 2,416
  • 3
  • 31
  • 38
4
votes
1 answer

Feed jacoco coverage report to SonarQube using TeamCity but it shows 0% coverage

I have a gradle project with some codes in src/main/java and some unit tests in src/test/java Below is snippet from build.gradle apply plugin: "jacoco" sourceSets { main { java { srcDir 'src/main/java' } } } test { jacoco { …
hydradon
  • 1,316
  • 1
  • 21
  • 52
4
votes
1 answer

TeamCity branch specification - Is there a way to exclude all sub folders?

We are using hierarchical branch names so we have something like: master somework (branched off and merged into master) olderrelease/master olderrelease/someworkonolderrelease (branched off and merged into olderrelease/master) We have set up…
James Bateson
  • 1,069
  • 13
  • 20
4
votes
0 answers

TeamCity always merges into master

I have a pull request on GitHub to merge branch foo into develop (my default branch). I do have a branch master but this is not the branch I want to merge into. In TeamCity, in VCS roots for my project I have the following setup: Default Branch:…
James Monger
  • 10,181
  • 7
  • 62
  • 98
4
votes
0 answers

Continuous build Angular-cli application using Teamcity and Octopus Deploy for different environments

I'd like to get some knowledge/thoughts on a situation that is related to my recent experience. In my current project we are using the same setup, Angular-cli for building the production-ready bundles, using teamcity to execute these commands and…
4
votes
2 answers

MSBuild 15 missing after installation

I have recently upgraded to VS2017 and building with TeamCity. I have a new project that I need to build using TeamCity. I tried to install MS Build on the CI server from the following link https://www.visualstudio.com/downloads/ it said that it…
pantonis
  • 5,601
  • 12
  • 58
  • 115
4
votes
1 answer

Maven integration with Teamcity

I am trying to integrate maven project with teamcity. I almost there but got into one issue. i am using javax mail jar for my project and i have added dependency in POM>xml also.When I am building locally using command prompt it is working fine but…
Jai
  • 131
  • 2
  • 8
4
votes
2 answers

TeamCity Rest API - Run Custom Build

I am trying to trigger a custom build on a project passing in a specific modificationId as mentioned here. e.g httpAuth/action.html?add2Queue=bt27&modificationId=3605 This works great. However I need to be able to get the modificationId of the…
redsquare
  • 78,161
  • 20
  • 151
  • 159
4
votes
1 answer

Build and deploy different projects from the same branch using Teamcity

Using git for version control, I have multiple sub-projects with shared libraries in a single branch of a repository in git. Using TeamCity 2017.x, I am doing a build and it builds the complete project (build script is made that way) every time…
gagneet
  • 35,729
  • 29
  • 78
  • 113
4
votes
0 answers

transplant_class..C) ... ERROR in python

I am running python suite using nosetests(nose==1.3.7,nose-testconfig==0.10) framework with pythom3.5.2, recently started facing issue in running suite. This error comes the beginning of every test folder. for example i have below folder…
Bimlesh Sharma
  • 186
  • 4
  • 18
4
votes
1 answer

How to build an msi using wix without rebuilding referenced projects?

I have a wixproj that creates an MSI, with references to a csproj. This is being built on teamcity, with a number of build steps: NuGet install Build csproj (default targets) Run signtool on built .exe Build wixproj (default targets) Run signtool…
Morten Nilsen
  • 621
  • 7
  • 18
4
votes
3 answers

how to build multiple visual studio targets in team city

I'm using the "visual studio (.sln)" builder in teamcity 6.0, I would like to compile both the "debug" and "release" configuration targets. can I do it using a single builder so I dont repeat myself?
Aviad Rozenhek
  • 2,259
  • 3
  • 21
  • 42
4
votes
1 answer

"Algorithm negotiation fail" with SSH authentication on TeamCity

We have a TeamCity 7.1.5 and our Git Repositories are hosted on a TFS 2017. We wanted to switch to SSH authentication with a Public/Private key. So I have created an openSSH keypair and added the public key on my TFS user. On my local machine this…
Kevin Brechbühl
  • 4,717
  • 3
  • 24
  • 47