teamcity

TeamCity - referencing a build number from a different Build configuration.

I am in the process of setting up teamcity and msbuild to automate our build process a good deal more than we do now. Each project that we work on is being set up as a seperate project in teamcity, and each of those projects is being set up with 3 build configurations: Development, staging, and live. Development is our standard CI build ...

Web Application Deployment Workflow with SVN and TeamCity

I'm fairly new to Subversion. Most of my work so far has been with Visual Source Safe. I'm looking to improve my deployment process with SVN and TeamCity. This is my plan: There would be three branches: Development (/trunk) - Entire ASP.NET solution, including a Web Deployment Project. Staging (/branches/staging) - Web Deployment Proj...

TeamCity: Best Practices to deploy produced installers (artifacts)

We got a TeamCity server which produces nightly deployable builds. We want our beta tester to have access these nightly builds. What are the best practices to do this? TeamCity Server is not public, it is in our office, so I assume best approach would be pushing artifacts via FTP or something like that. Also I have no clue how to trigg...

How to copy a build to test server?

Hope someone can assist me with this. Have TeamCity up and running and doing builds on various projects. I'd like to be able to copy/deploy a successful TeamCity ran build to a test server automatically. I was thinking of using PowerShell to do this but, am open to other ideas. Can some provide me with info on how I can accomplish this....

TeamCity Visual Studio plugin forgetting credentials

Does anyone else have a problem where everytime you need to commit using the TeamCity VS plugin, you have to re-enter the TeamCity server address and credentials? ...

treesurgeon vrs. ci-factory

I'm trying to find my hands and legs around CI. I've played a little with CC.Net and nAnt. Now, before trying Team City which everyone seems to recommend (and which, as far as I understand, competes with and is better than CC.Net), I want to understand that Tree Surgeon and ci-factory do, and how they fit into the big picture. I thin...

Why does MSBuild not execute multiple targets?

I have set up multiple targets in a single xml file. I expect all targets to run but only the frist target gets executed. Here is a simplified version of what iam trying to do: <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; <Target Name="T1"> <Copy SourceFiles="c:\temp\a.txt" DestinationFolder="C:\temp2...

What steps can I take to optimise build times in TeamCity?

I'm currently trying to reduce the time taken to compile and unit test projects in TeamCity. Currently my project takes about between 5 to 8 minutes to build. What it does is: Clean any existing files Compile each project Create the installer Once that is done the unit tests are kicked off and it takes about 2 minutes to run. What...

Can TeamCity publish a Web project using the sln2008 build runner?

I'm building an ASP.Net MVC project in TeamCity. Can I somehow call the Publish target and get the output copied to a folder under IIS? or do I need to write an msbuild script for this? ...

re-run of .net build when using teamcity

I am trying to setup a .net build using Teamcity. We got it to compile and now the problem is once started it keeps building in a loop. Is there a setting I can do to get rid of the multiple runs in Teamcity. I ran the MSbuild from command line using the same solution (.sln) file it works ok and runs only once. Thanks In advance Rega...

Nant Copy Task does not copy when run from TeamCity

I have the following target in my nant script: <target name="update" verbose="true"> <copy todir="${dirs.deploy}"> <fileset basedir="${dirs.drop}\_PublishedWebSites\RomanceReminder.Web"> <include name="**/*.*" /> </fileset> </copy> </target> when I run this script manually the following output is visible...

Microsoft Team System value within only a Dev Team

Microsoft Team System appears to be a great platform for process-oriented systems implementation, however if you strip out access for the BAs, PM and Business Users and just purely use it within a Dev team does it have any more value than just using Visual Studio Professional, SourceSafe, a Defect Tracking Tool and a continuous integrati...

CruiseControl .NET - what to configure to avoid multiple triggering of CI builds

Hi, I want got CuriseControl .NET based CI process installed for my development - a small team of 15 developers, concurrently working on several projects in one solution. Now my question is what do i need to configure so as to avoid any potential multiple concurrent CI builds getting triggered. I amy be asking a stupid question here, b...

MSbuild getting the current configuration from the solution file

In my VB.NET project I have three configurations DEBUG|TEST|RELEASE. Currently when I am building using MSbuild and TeamCity I hard code the configuration, which smells badly!, to TEST <Configuration Condition=" '$(Configuration)' == '' ">Test</Configuration> Now before everyone screams at me not to hardcode this, the reason this wa...

How do you call multiple MSBuild scripts from one MSBuild script

I have 3 MSBUild scripts for deployment, 1 for deploying UI 1 for deploying a couple of web services. 1 for deploying backend services. Now I would like to create a one click deployment MSBuild script, which would call all the above 3 scripts, which can be executed from a TeamCity server. So how can I call these three MSBuild scripts f...

Assembly Versioning with TeamCity

I'm working on a C#/VB.Net project that uses SVN and TeamCity build server. A dozen or so assemblies are produced by the build. I want to control the assembly versions so that they all match up and also match the TeamCity build label. I've configured TeamCity to use a build label of Major.Minor.{Revision}.{Build} Where Major and M...

how do i get teamcity to pick up my nunit tests run from rake?

when i run this: sh "#{MBUNIT_PATH}Gallio.Echo.exe /no-echo-results src/#{dll}/bin/Debug/#{dll}.dll" in my rakefile, gallio runs my mbunit tests, and TC picks up the results :D but this: sh "#{NUNIT_PATH}nunit-console.exe /nologo src/#{dll}/bin/Debug/#{dll}.dll" does run my tests, but TC doesnt pick up the result :( I first tried...

SVN externals and automated build

I have a project that uses SVN externals to include some stuff (actually it's the MSBuild Community Tasks, but that's tangential). The external repository requires a username 'guest' but no password. I've set an externals property and this works perfectly when doing an SVN Update locally. The problem comes when my TeamCity continuous in...

Teamcity as buildserver, host or pay for some else?

I am working with a team of 5 developers at a small company. There are 3 who work here and 2 work remotely. Currently, we are using Assembla with Trac for source control. We are working on a ASP.NET MVC web site. We are not hosting our production environment right now. I am setting up a BuildServer with Teamcity!! I have it working right...

TeamCity - Use NG3 as version control repository

Hi all, I have TeamCity 4.5.4 set up and working perfectly for some of our projects, using SVN. Now I need to check out some older projects that are archived into an NG3 Source server, and I can't find a solution. I can't simply migrate the old projects to SVN because the team who is working on them is opposing to that idea, so I should ...