Questions tagged [teamcity-5.1]

Minor release of TeamCity adding additional features and enhancements to TeamCity 5.1

TeamCity 5.1 is a minor release of and adds additional features and enhancements to .

What's New in TeamCity 5.1

Enhancements include:

Notifications

TeamCity notification templates are now based on the Freemarker which provides great customization abilities. Moreover, we brushed up the templates - now they contain more useful information and look better. For example, Email notifier uses HTML for email messages.

Templates

Inherited build configurations are now more customizable. You can add more triggers and VCS roots than is defined in the template itself.

21 questions
28
votes
1 answer

TeamCity command line build runner: How to make the build fail?

We're using TeamCity's command line build runner to call a bat-file. The bat-file builds our solution by calling the Visual Studio 2008's "devenv.exe" and then it executes the unit tests and creates the correct folder structure. What we would like…
Mikael Koskinen
  • 12,306
  • 5
  • 48
  • 63
8
votes
2 answers

Running NUnit Tests from Team city

I've successfully managed to get MSTests running for each of the builds on our TeamCity Server. I've got a couple of projects that use NUnit, so was hoping that getting TeamCity to run NUnit tests would be as simple as running MSTests: So when I…
CraftyFella
  • 7,520
  • 7
  • 47
  • 61
6
votes
2 answers

Python : get all exe files in current directory and run them?

First of all this is not homework, I'm in a desperate need for a script that will do the following, my problem is, I've never had to deal with python before so I barely know how to use it - and I need it to launch unit tests in TeamCity via a…
Maciek
  • 19,435
  • 18
  • 63
  • 87
5
votes
3 answers

How can I set up code coverage threshold as a high water mark in TeamCity?

I have a TeamCity build that captures code coverage for unit tests. I have also defined an environment variable for the minimum code coverage for the build to succeed, which works fine but I don't like to maintain this threshold manually. The…
Igor Pashchuk
  • 2,455
  • 2
  • 22
  • 29
5
votes
1 answer

Exclude file types in teamcity artifacts

I'm just about to setup teamcity for the first time on my own. Very nice and simple in most ways I have to say. However, I have one issue that I haven't manage to solve and find any information about. When I wanna publish my artifacts I want to…
MrW
  • 1,210
  • 2
  • 16
  • 27
2
votes
1 answer

Restore TeamCity projects from DB

Is there a possibility to restore the TeamCity project settings from an existing db? I have separate servers for the TeamCity data tier and application tier. The TeamCity application server had been damaged and i'm trying to restore it from the…
Gilad B
  • 135
  • 3
2
votes
4 answers

TeamCity Build Fails Because NUnit is Locking Files?

We have been having an issue with our project's Continuous Integration. Occasionally, we want to try to clean all of the files on build within TeamCity in its checkout directory. Whenever we try to do this, nunit-agent.exe ends up remaining open…
Doctor Blue
  • 3,769
  • 6
  • 40
  • 63
2
votes
1 answer

FxCop and Teamcity: Doesn't show code or code-lines

I am trying to use the FxCop build runner in TeamCity (5.1.2) and while I get the analysis output, the errors all show '0' for the code line link and I can't open anything in the IDE using that link. I am assuming (since I have not been able to get…
Chris Nicola
  • 14,384
  • 6
  • 47
  • 61
1
vote
0 answers

Should I each time change my teamcity configuration after creating a new branch?

I am following the following structure to re-structure my source-control project. Now I am also using TeamCity as my CI server. The configuration in TeamCity points to a specific tfs path in order to build the project. If I create a new branch, then…
vikasde
  • 5,681
  • 10
  • 45
  • 62
1
vote
1 answer

TeamCity - Configure MSTest Settings to execute a command before the tests

I try to configure the MSTest Settings ssection [Step 3 Runner: Visual Studio (sln)]. My particular configuration require to call a set of scripts (TestSetup.cmd) before the tests. Everything works fine in Visual Studio, but I don't know how to…
1
vote
1 answer

msbuild and updating files in tfs

I need some help to create a msbuild script. We are using TeamCity 5.1.2, VS2010 (.net 4.0) and TFS in our environment. We have a "SharedLib" folder in tfs where we put those dll's that are used by multiple projects. What we do is that we have a…
OKB
  • 715
  • 3
  • 14
  • 30
1
vote
2 answers

Team City build fails after upgrade to VS 2010

I have a project that currently compiles happily on my dev machine using VS 2010 (presumably using MSBUILD v4.0), but it fails under MSBUILD v3.5 in Team City (running on a VM based on Win 2003 server w/ .NET 2, 3.5 and 4 installed). This project is…
Andrew Matthews
  • 3,006
  • 2
  • 29
  • 42
1
vote
2 answers

Automatic installer deploy to remote server using TeamCity and MSBuild

I'm having a .net WPF project that compiles to a bunch of dlls. I also have another project that compiles all the dlls and creates an installator exe. I am also using TeamCity to automatically do those tasks for me with a press of a button. The…
Maksym
  • 458
  • 4
  • 23
0
votes
1 answer

Teamcity thinks agent is running a build, but it is not

Using teamcity 5.1 (build 13360) Usually everything works as expected Occasionally it gets into a state where the server runs a build and it thinks the agent is running it, but the agent doesn't actually run the build I see no sign of the build…
laurie
  • 6,011
  • 4
  • 29
  • 22
0
votes
1 answer

TeamCity 5.X: REST Documentation

TeamCity 5.X REST documentation directs us to a plug-ins page that is not TeamCity 5.X specific. I just recently realized this, and it seems that some of the functionality such as the running:true build dimension are not supported until TeamCity…
brandogs
  • 829
  • 7
  • 14
1
2