teamcity

How to get NHProf reports in TeamCity running MSBUILD

I'm trying to get NHProf reports on my integration tests as a report in TeamCity I'm not sure how to get this set up correctly and my first attempts are unsuccessful. Let me know if there is any more information that would be helpful... I'm getting the following error, when trying to generate html reports with MSBUILD (which is being ...

Using system properties in the paths to artefacts in TeamCity

Hi, I am trying to set up artefact paths as part of my build in teamcity, but some of them depend on the local system properties (on the build agent). I get the following error: Parameter 'artefacts.paths=%temp%/sth.out %USERPROFILE%\Local Settings\Application Data\sthElse.log,teamcity-info.xml' is not fully resolved, using as is. An...

MSBuild script fails but produces no errors

I have a MSBuild script that I am executing through TeamCity. One of the tasks that is runs is from Xheo DeploxLX CodeVeil which obfuscates some DLLs. The task I am using is called VeilProject. I have run the CodeVeil Project through the interface manually and it works correctly, so I think I can safely assume that the actual obfuscate ...

TeamCity build number independent artifacts

Hello, My TeamCity's nightly build produces more than 130Mb java doc as Build Configuration artifact. I have to share these artifact for other teams(developers), but javadoc every time has another one URL(I know that it's possible to get it like .lastFinished), and get's new place on Build Machine. Is it possible on each build replace ol...

Teamcity - Build Number - Pass into ant script

I want to pass the build number from Teamcity into an ant script as a parameter. Does anyone know the exact syntax for doing this? ...

How-To Integrate IIS 7 Web Deploy with MSBuild (TeamCity)

How-To Integrate IIS 7 Web Deploy with MSBuild (TeamCity) ? ...

Step by step process for setting up Gallio and NbUnit within TeamCity

I have searched the internet and found a few references saying that Gallio and NbUnit can run within TeamCity as part of the build process. I am running my builds against the solutions files and need TeamCity to run all the test in the solution. Is there a step by step process for setting up Gallio and NbUnit within TeamCity anywhere? ...

Team City + Gallio runs tests, but results are not shown

We recently updated to Visual Studio 2010, and as part of our upgrade we started using Gallio 3.2 prerelease builds. Everything runs fine in Visual Studio (through resharper) but I'm having problems with TeamCity integration. The tests seem to run during TeamCity builds just fine (our build takes long enough to run all our tests), but th...

How to get branch specific SVN revision numbers in TeamCity

I have multiple svn roots configured in TeamCity. They all point to the same repository, but different paths (branches). All branches return the same value for revision. I want the branch specific revision numbers. Here is an excerpt from the build log after I've dumped all the defined properties: vcsroot.3_0_11__SP6_.url = https://...

Teamcity ant build classpath - how to add additional jars

In Teamcity I'm kicking off an Ant Build. I want to add additional jars to the classpath, including ant-javamail.jar How do I specify these in the settings control panel? ...

TeamCity Multi-Part Build - How to checkout the code just once

I am trying to create 1 package with multiple build configurations. The first will checkout the code, build it (Solution File configuration), and run nunit tests. If that succeeds, another will then build in release mode. If that succeeds, a final script witll package up the output, and mark it as an artifact. The problem I'm having...

How to run White + SL4 UATs through TeamCity?

After experiencing a series of unpleasant issues with TFS, including source code orruption and project management inflexibility, we (meaning the project team of which I'm a part) have decided to move from TFS 2010 to TeamCity + SVN + V1. I've managed to get our MSTest component and unit tests running as part of every build. However, o...

How to cleanup old Failed Builds in TeamCity?

We do have hundreds of failed builds in TeamCity (number is especially high because of old retry on fail settings) and now it's a pain to browse history. I want to clean up only old failed builds, is there anyway to do that in TeamCity? Normal clean-up policy only allows X days before the last successful build sort of clean ups. ...

Referencing binaries from one project in another

Newbie question : I have 2 C# projects in TeamCity, call them A and B. A contains a reference to B.dll. B builds fine. However, A fails to build because it cannot find B : Could not locate the assembly "B" It seems really simple : how do I tell my project A on the buildserver where to find the binaries from B\bin\Release? ...

MSBuild on TeamCity Server can't find AL.exe

I'm having a problem on my TeamCity CI build server where during compilation I get the following error: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2342, 9): error MSB3086: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Window...

Teamcity 2 configurations merge and deploy

Hi Everyone, I have two teamcity configurations one becoming my common helpers and reuseable components and my other a website which uses the common project. I use a third configuration to publish to a test environment. When the third configuration is run i would like it to get the artifacts from the common project and merge them wi...

Moq file version & assembly version mismatch, causing problems in TeamCity?

Setting up TeamCity 5.0.1 to run unit tests for the first time, we're seeing this error: Test(s) failed. System.IO.FileNotFoundException : Could not load file or assembly 'Moq, Version=3.1.416.3, Culture=neutral, PublicKeyToken=69f491c39445e920' or one of its dependencies. The system cannot find the file specified. We're using vers...

TeamCity Scheduled Build not getting all files from VSS

Within TeamCity if I trigger a build it all works correctly, however if the Scheduler triggers a build it does not seem to get all the files from VSS. I have clean checkout directory turned on, so I am not sure how it determines the patch for the VSS root. Does anyone have any suggestions on how I can get it to always get all files, and...

How can the number of modifications be changed in the TeamCity success email?

I would like to list an arbitrary number of changes rather than the default 10 that are listed now. We have a dev build on checkin where this isn't necessary, but the once daily build that goes out I would like to have all the changes listed for the day. If that is unpossible (range?) than the last n would be fine. I've looked in the .f...

Can TeamCity add the project output to svn

Can I get TeamCity to add the project binaries to a svn repository after they have been built? If I need a script, how do I kick it off after a successful build. ...