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
557
votes
12 answers

npm check and update package if needed

We need to integrate Karma test runner into TeamCity and for that I'd like to give sys-engineers small script (powershell or whatever) that would: pick up desired version number from some config file (I guess I can put it as a comment right in the…
iLemming
  • 30,282
  • 53
  • 181
  • 302
220
votes
11 answers

How to Publish Web with msbuild?

Visual Studio 2010 has a Publish command that allows you to publish your Web Application Project to a file system location. I'd like to do this on my TeamCity build server, so I need to do it with the solution runner or msbuild. I tried using the…
jrummell
  • 41,300
  • 17
  • 110
  • 165
117
votes
11 answers

CruiseControl [.Net] vs TeamCity for continuous integration?

I would like to ask you which automated build environment you consider better, based on practical experience. I'm planning to do some .Net and some Java development, so I would like to have a tool that supports both these platforms. I've been…
101
votes
2 answers

msbuild.exe staying open, locking files

I use TeamCity which in turn invokes msbuild (.NET 4). I have a strange issue in that after a build is complete (and it doesn't seem to matter if it was a successful build or not), msbuild.exe stays open, and locks one of the files, which means…
gregmac
  • 22,527
  • 9
  • 79
  • 114
100
votes
9 answers

Hudson or Teamcity for continuous integration?

We are a Java shop looking for a CI tool to use. Both Hudson and Teamcity seem to be free but Teamcity seems slicker and with more support. I was wondering why one would still use Hudson and if anyone could provide any argument for/against either?
pdeva
  • 36,445
  • 42
  • 122
  • 154
98
votes
6 answers

Why would a post-build step (xcopy) occasionally exit with code 2 in a TeamCity build?

A few projects in my client's solution have a post-build event: xcopy the build output to a specific folder. This works fine when building locally. However, in TeamCity, I occasionally get xcopy [...] exited with code 2 If I use regular copy, it…
Tim Iles
  • 1,884
  • 1
  • 21
  • 25
87
votes
3 answers

Running multiple TeamCity Agents on the same computer?

We have several build machines, each running a single TeamCity build agent. Each machine is very strong, and we'd like to run several build agents on the same machine. Is this possible, without using virtualization? Are there quality alternatives to…
ripper234
  • 202,011
  • 255
  • 600
  • 878
86
votes
19 answers

Selenium Error - The HTTP request to the remote WebDriver timed out after 60 seconds

I've been using Selenium for a number of months, which we're using to automate some of our internal testing processes. The scripts have been passing fine. I've recently upgraded to C# 2.40.0 webdriver using FF 27.01 and our scripts are now failing…
Nathan
  • 869
  • 1
  • 6
  • 4
80
votes
2 answers

TeamCity says to use "Build Parameters" instead of "/property:" in an MSBuild step. What does that mean?

I have a TeamCity server setup to do my CI builds. I'm building and testing a C# solution and running some custom MSBuild tasks. One of these tasks is printing a warning in my build output... MSBuild command line parameters contains "/property:"…
Anthony Mastrean
  • 20,318
  • 20
  • 92
  • 173
77
votes
5 answers

Why are my PowerShell exit codes always "0"?

I've got a PowerShell script as follows ##teamcity[progressMessage 'Beginning build'] # If the build computer is not running the appropriate version of .NET, then the build will not run. Throw an error immediately. if( (ls…
Chase Florell
  • 42,985
  • 56
  • 169
  • 364
75
votes
5 answers

How to deploy after a build with TeamCity?

I'm setting up TeamCity as my build server. I have my project set up, it is updating correctly from subversion, and building ok. So what's next? Ideally, I'd like to have it auto deploy to a test server, with a manual deploy to a live/staging…
Neil N
  • 23,912
  • 15
  • 82
  • 141
74
votes
2 answers

Restart TeamCity server via web interface

Is there a way to restart a TeamCity server running on Windows from its web interface? I haven't found a button or documentation whether this is possible.
krlmlr
  • 22,030
  • 13
  • 107
  • 191
72
votes
6 answers

MSBuild in TeamCity of Visual Studio 2012 solution

I have a VS 2012 web project /sln that I am trying to build in TeamCity. it uses .NET 4.5 which is installed on TeamCity. The TeamCity server has VS 2010 installed only. I get this error when the build…
Ian Vink
  • 60,720
  • 99
  • 311
  • 535
69
votes
19 answers

TeamCity forgotten admin password - where to look?

I need to recover/reset the admin password for JetBrain's TeamCity. I have full RDP access to the server so no problems there. It's just been 2 months since we used it so now I have forgotten my login - my usual ones don't work. It is setup without…
Jack Ukleja
  • 12,190
  • 10
  • 65
  • 101
69
votes
2 answers

Change port for TeamCity web server

I installed TeamCity and got it working against my project. However, I have since realized that I don't want it the administration page to be configured on port 80. I'm going to have other websites on that server that I want on the default port. How…
RationalGeek
  • 8,805
  • 11
  • 59
  • 88
1
2 3
99 100