teamcity

Automatically push gem to RubyGems.org from a Continuous Integration server

Hi, I have a Continuous Integration / Continuous Deployment scenario where I want my build script to push a ruby gem directly from a public Build Server (teamcity.codebetter.com) to RubyGems.org. The problem is: How can I specify my credentials? On my local machine I have them under ~/.gem/credentials and everything works fine but how...

TeamCity not checking out latest commits from Subversion

I've added an app.config to a project, but when I run the build agent, it's not picking up that file. I have Clean all files before build checked, and have tried both checkout modes (automatically on server, and automatically on agent). Here's the log file: [17:24:50]: Skip checking for changes - changes are already collected [17:24...

Continuous Integration with RIA Servies

Hi, I've got some issues with a project I'm trying to set up in TeamCity. This project consists of 3 class libraries (one of which is a silverlight RIA library), a Web Application and a silverlight project. The issue I have is that, as we're using RIA services, my usual approach to silverlight builds (i.e. building the silverlight app...

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 any further) that I should be able to see the offending lines of code. Currently, I have...

Teamcity build counter not being passed into Ant

I'm using Teamcity to build with an Ant runner. I'm trying to pass the current build counter into the "Additional Ant command line parameters" using the following -lib %teamcity.build.checkoutDir%/MI/CustomAntTasks/jars/CustomAntTasks.jar -Dlabel={0} The value -Dlabel={0} is being passed into the Ant script as the literal value {0} a...

TeamCity NUnit integration failing - Always getting "Could not locate the assembly nunit.framework..."!

Hi, I'm trying to get TeamCity to run NUnit tests as set up in an NAnt script as follows: <nunit2> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${BuildArea.ReportsDir}" /> <test assemblyname="${BuildArea.OutputDir}\Common.Tests.dll" appconfig="s...

Running boost unit test console applications as part of Teamcity build

In our application, there are a bunch of unit test console applications that have been written using the boost unit test framework. These test applications form part of the Visual Studio Solution (we are using VS2008 Professional). Is it possible to run these as part of a Teamcity build? So far I have configured Teamcity to check out ...

Remembering to run tests before commit

We have a decent set of unit tests on our code and those unit tests run in under 2 minutes. We also use TeamCity to do a build and to run tests after each check in. However, we still get issues where a developer "forgets" to run all the tests before a commit resulting in TeamCity failure which if this check in was done at 6PM may stay b...

Creating a build configuration in TeamCity using Powershell

Anyone know how I can create or delete a build configuration in TeamCity, only using Powershell? I am trying to automate our entire project setup process; have looked at the REST API but that appears to be mostly read-only. ...

Is there a way in Team City to get projects status in an xml file?

Is there a way to see an xml-represented snapshot of all the projects on our Team City build server? Otherwise, is there another way to get this data suitable for consumption by a .net app? I see JetBrains has a java api, but not a .net one from what I could find. ...

How do I configure proxy settings for TeamCity?

We have a TeamCity server sitting behind a cooperate proxy. We use several of the Castle open source libraries. I want to set up CI builds for the Castle stack internally, so that I can create dependent builds for our core shared libs. Everything was going well, until I tried to find proxy settings for TeamCity. Google-ing around has tur...

Would you recommend TFS or another Continuous Integration system?

We have appointed a new team lead who will be starting in the next few weeks. He has previously worked with TFS and is likely to want to use that for CI. The team is new to continuous integration so will take any advice he gives. Is there any reason to choose another system like CruiseControl or TeamCity, or are the features quite simila...

Teamcity - which external diff viewer

Do You know any tools that can be used as external diff viewer for Teamcity's Visual Studio plugin? I'm using Visual Studio 2010 Pro and Teamcity 5.1.2. ...

TeamCity - Continuous Integration

how TEAM-CITY can verify if the code sending by the developer is pre-tested-commited or not? ...

Microsoft Code Contracts and CI build server.

Hello all. We are migrating to .NET 4 and very interested in implementing new Design By Contract capabilities. As we know Code Contract engine requires installation of Code Contract addin and VS Ultimate or Premium (for static checking). Here is my questions: Can I use code contract rewriting without installing VS on CI build ...

Strategy for Automated UI testing on remote virtual machines

I'm using TeamCity for my CI builds, and I'd like to set up a second build for running automated UI tests on Windows XP and Windows 7 virtual machines. I imagine the build working as follows: Compile, run unit tests, etc. Prepare MSI using WiX Copy MSI to target test machines Remotely execute MSI's Copy test harness code to remote m...

How can I get Maven to write a property into a property file at package time?

For continuous integration I am using Maven 2 and TeamCity 5.1.2. My builder number is defined by the pattern %maven.project.version%.{0}, and this is exported to Maven build script as ${build.number} When the build creates the jar file I would like the jar to contain a property file with this information inside: build.number=#1.1-SNA...

Trigger Teamcity-Build on VCS checkin only when queue is empty

I have a TeamCity (5.1.2) server with currently one agent. During the day, it is idle, unless somebody manually triggers a build. I would like to trigger builds on VCS-Changes to have recent builds available. However, this should not clog the build server at times when people are scheduling manual builds/tests etc, since this has priori...

Wix heat.exe with project harvesting type

Hi, I'm using the lastest version of Wix 3.5 and I'm trying to generate a fragment file using heat.exe. The command line is : "%WIX%\bin\heat.exe" project "MyProj.csproj" -pog Binaries -pog Content -suid -directoryid INSTALLLOCATION -ag -template fragment -out "Files.wxs" The prolem I'm having is that the assemblies my project is dep...

Convert From Bigint to datetime value

Hi people, please help me with this one, i want to convert a value from Bigint to datetime. For example im reading HISTORY table of teamcity server, on the field *build_start_time_server* i have this value on one record 1283174502729. How can i convert to datetime value??? Thanks ...