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 proprietary continuous integration and continuous delivery server, developed and provided by JetBrains. TeamCity natively supports Java, .NET, and Ruby development, provides integrations with major IDEs, version control systems, and issue tracking systems.

Key features include:

  • Projects hierarchy allows you to group builds in a tree structure, to represent the structure of your organization and to share common settings or enforce common practices.
  • Build configuration templates and configuration parameters for settings reuse
  • Real-time tracking (as builds are still running) shows new commits appearing in a code base, newly failed tests and new problems reported.
  • Test failure analysis allows finding the first build where test started to fail as well as changes which caused this failure, view history of test execution, and determine flaky (unstable) tests.
  • Integration with version control systems allows to check-out specific parts of the code base, check-out from several repositories at once, and view or download diffs right from the web interface.
  • Artifact and snapshot dependencies between builds.
  • Programmatic creation of projects and build configurations with Kotlin-based DSL.
  • Integration with IDEs (IntelliJ IDEA, Eclipse, Visual Studio).
  • Built-in static code analysis, based on IntelliJ IDEA and ReSharper engines.
  • Built-in code coverage engines based on IntelliJ IDEA and JetBrains dotCover.
  • Built-in statistics engine for configuring charts, reporting custom statistic values, or failing builds if statistical values get out of the specified range.
  • Built-in health reporting and settings suggestions to identify problems with server configuration and opt for more efficient project configuration.
  • Extensibility features allow writing custom plugins or report custom statistical values and tests from a custom testing framework with the help of service messages.

TeamCity is a commercial software and licensed under a proprietary license. A freemium license for up to 100 build configurations and 3 free build agents is available.


Useful links:

Website
Documentation
Issue tracker
Community forum
Blog
Twitter

5857 questions
69
votes
10 answers

How to debug into my nuget package deployed from TeamCity?

I have put a library that my team uses into a nuget package that is deployed from TeamCity into a network folder. I cannot debug into this code though! SymbolSource is one solution I have read about but I would much rather find some way to have…
anthonybell
  • 5,004
  • 7
  • 38
  • 55
66
votes
10 answers

Continuous Integration for a small .NET open source project

I'm starting a small open source project, myself being the sole contributor for the time. Still, I think a continuous integration setup would be useful to detect whether I broke the build. Is there a free, hosted continuous integration server that…
ripper234
  • 202,011
  • 255
  • 600
  • 878
62
votes
1 answer

TeamCity, passing an id generated in one build step to a later build step

New to TeamCity. I have multiple build steps. Step 3 generates an id that is needed in step 4. What is the best way to pass the id (a string) between step 3 and step 4? The build steps are written in Ruby. Can I set an environment variable?
Mike Jr
  • 1,549
  • 3
  • 13
  • 20
62
votes
4 answers

Anyone know of a hosted TeamCity build provider?

I'm looking to set up a TeamCity server for continuously building a .NET web application. I already have hosting, so I don't want to get a whole new hosting account such as AppHarbor. I don't maintain my own physical server, nor do I want to. I also…
Jonathan
  • 29,612
  • 37
  • 126
  • 201
62
votes
4 answers

Why does the deployment package from my buildserver have additional assemblies?

I've got an asp.net mvc deployment package that I'm trying to build with team city. The package builds without any problems, but the bin folder contains file that are not needed (and cause the site to fail when present). If I build the same package…
ilivewithian
  • 18,642
  • 19
  • 93
  • 158
60
votes
7 answers

Team Foundation Build or TeamCity?

We are a mostly MS shop at work doing .NET LOB development. We also use MS Dynamics for our CRM app... all the devs are currently using VS/SQL Server 2008. We also use VSS, but everyone hates it at work and that is quickly on its way out. We are…
dferraro
  • 5,875
  • 10
  • 42
  • 68
59
votes
8 answers

How to remove a specific version of a package on a TeamCity Nuget Feed?

Does anyone know to remove a specific version of a package on a TeamCity Nuget Feed?
matt_dev
  • 4,996
  • 3
  • 30
  • 42
58
votes
4 answers

NUnit expected exceptions

I've got a set of test cases, some of which are expected to throw exceptions. Because of this, I have have set the attributes for these tests to expect exceptions like so: [ExpectedException("System.NullReferenceException")] When I run my tests…
Martin
  • 9,374
  • 11
  • 59
  • 80
56
votes
3 answers

How do I exclude types and methods from being covered by dotCover in TeamCity?

I've got an existing C# 4 project which I've checked the test coverage for by using TestDriven.Net and the Visual Studio coverage feature, i.e. Test With -> Coverage from the context menu. The project contains some code I don't want covered, and…
Martin R-L
  • 3,939
  • 2
  • 25
  • 27
56
votes
2 answers

Select Git branch for TeamCity Build

I'm wondering how to select the branch to build against using Team City 8.1. My VCS root (Git) is set to Default: "master" and Branch specifications…
Joe
  • 4,959
  • 5
  • 37
  • 55
55
votes
3 answers

'dotnet restore' vs. 'nuget restore' with TeamCity

I have an ASP.NET Core project that builds properly with Visual Studio, but it doesn't build under MSBuild. It doesn't find all the common libraries (system, etc.). I'm using TeamCity and part of the build process is a nuget restore. I tried to do…
Thomas
  • 7,832
  • 5
  • 39
  • 87
53
votes
3 answers

Email user that broke build in Teamcity

In Husdon/Jenkins, I can setup notifications when the build is broken to email the user(s) that made the checkins that broke the build. How do I do this in Teamcity? I am aware that individual users can setup email notifications for themselves via…
vicsz
  • 8,822
  • 15
  • 62
  • 94
52
votes
2 answers

TeamCity loads custom plugin, but there's no evidence the plugin code runs

I am playing around with a TeamCity install and developing a plugin that extends a BuildServerAdapter. When I package it up and install it to the server, teamcity-server.log contains entries for my plugin: found when scanning the plugins…
Rebecca Chernoff
  • 19,999
  • 5
  • 40
  • 45
52
votes
4 answers

How can I build a git tag in TeamCity?

I want to provide a git tag to the TeamCity server to build it. I pass the tag (i.e. release_1.1) as a parameter to the job. So inside the job the tag is available as %tag%, but under the Version Control Settings I don't see any way to use this…
js3dev
  • 533
  • 1
  • 4
  • 6
50
votes
8 answers

*.dll.licenses file in obj directory not created with msbuild in TeamCity

I am working on upgrading our TeamCity projects from VS2012 to VS2015 and I am running into an issue compiling our MVC application. Old MSBuild (v4.0.30319.34209) generates a file in the obj directory called MyApplication.Web.Mvc.dll.licenses which…
gwin003
  • 6,905
  • 5
  • 34
  • 55