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
3
votes
1 answer

Include directory itself in TeamCity build artifact

In my TeamCity build config > General Settings > Artifact paths, I have as followed: %system.teamcity.build.checkoutDir%/build/libs/*.jar => install.zip %system.teamcity.build.checkoutDir%/build/config =>…
hydradon
  • 1,316
  • 1
  • 21
  • 52
3
votes
1 answer

How to add build step in team city to run Node Js unit tests (Mocha framework)

I have a NodeJs application. Currently I am using team city for build and deployment of this application. Now I want to run unit test cases before deployment. I have used Mocha framework with Chai to write test cases. I don't see any runner type for…
Anil
  • 1,669
  • 5
  • 19
  • 44
3
votes
1 answer

Dotnet publish with .NET core 2.0 and .NET framework projects

I'm hoping someone has some advice on the best way to use Teamcity to build and publish a solution that has both .NET Core/standard 2.0 projects and .NET framework 4.6.x projects in it. Currently, I can build the project, run tests, but I can't…
Benedict
  • 190
  • 2
  • 7
3
votes
1 answer

Is it possible to add a free text note to a team city build?

I'd like to be able to add free text notes to a given build, I know I can tag builds, but I'd like to be able to add notes like: Deployed to client staging server 24/01/2011 If I try and do this as a series of tags teams city shows them back to me…
ilivewithian
  • 19,476
  • 19
  • 103
  • 165
3
votes
3 answers

MSTest does not discover unit test in assembly

I'm trying to establish continuous integration with TeamCity and stuck at running unit tests step with Visual Studio Tests runner. Loading…
Sovent
  • 119
  • 2
  • 13
3
votes
1 answer

TeamCity and JIRA over HTTPS

I have JIRA and TeamCity running on two separate servers both accessible via HTTPS and self signed certificates. I would now like to integrate JIRA as TeamCity's issue tracker. However, when I try and setup the connection from TeamCity I get a…
user156862
3
votes
1 answer

How to deploy a specific folder as a package

I have an asp.net MVC project and front-end which build via npm command. and provide app folder after the build. This folder does not include to my csproj file. When i deploy from teamcity, im use 2 steps. publish application FTP deployment for…
Artem Polishchuk
  • 505
  • 5
  • 17
3
votes
1 answer

Jmeter plugin for Teamcity - Teamcity shows all Jmeter tests failed but in the log they all passed

I added the Jmeter plugin for Teamcity according to : https://www.blazemeter.com/blog/how-run-jmeter-tests-teamcity-continuous-integration After running the tests, Teamcity reports: "Tests failed: 13, passed: 0", but all the tests passed according…
gald
  • 31
  • 2
3
votes
1 answer

Teamcity: trigger a build on a Tag with wildcard

I'm a Teamcity newbe :) But I'm very well on the way. I know that it is possible to trigger on Tags like this: +:refs/tags/(*) Now my question is, is it possible to trigger on special Tags with wildcard? Like this: +:refs/tags/test_*. whenever a tag…
kevdiablo
  • 31
  • 1
  • 2
3
votes
0 answers

Pycharm debugging console outputs ##teamcity

I can see the following output when using pycharm / intellij debugger console. Any suggestions how to solve this are appreciated. Unittests and Nosetests (same attribute error appearing in different forms) UNITTESTS: And the end of the very long…
Nickpick
  • 6,163
  • 16
  • 65
  • 116
3
votes
1 answer

How do I integrate my Postman Integration Tests with TeamCity

I'm building a suite of integration tests in Postman to test some RESTful APIs. I'd like to run these tests when building the project in TeamCity. I'm looking at perhaps using Newman command line integration, but I not finding good examples of this.…
John Meyer
  • 2,296
  • 1
  • 31
  • 39
3
votes
1 answer

When using dotCover in a TeamCity build configuration, is there an environment variable for code coverage percentage?

When using TeamCity to manage .net projects, we like to use dotCover to evaluate our code coverage. In the past using NCover, there was a way to retrieve the code coverage percentage using an environment variable. We liked this and we would set…
shanabus
  • 12,989
  • 6
  • 52
  • 78
3
votes
2 answers

.Net Standard 2.0 build fails on Teamcity

I am converting a project to the new .csproj format and setting it up to target both netstandard2.0 and net45. It's working fine on my machine, but somehow fails on our build server when trying to build for netstandard2.0. The build for net45 runs…
holdn
  • 96
  • 2
  • 6
3
votes
1 answer

Error in CAKE task not displayed in TeamCity overview

I use CAKE 0.22.0 and TeamCity 9.x. In TeamCity, I have only one build step invoking build.ps1. In turn, it runs build.cake. In build.ps1, I have added the following: trap { write-output $_ ##teamcity[buildStatus status='FAILURE' ] exit…
M.Y. Babt
  • 2,733
  • 7
  • 27
  • 49
3
votes
3 answers

How do I automate unit tests for a console application in TeamCity?

I've written a console application that has a number of unit tests and I'm wanting to include it in my nant build script so that it will be run on our TeamCity CIS. Unfortunately I'm not quite sure how to do that. The nant script has examples of…
mezoid
  • 28,090
  • 37
  • 107
  • 148