teamcity

Using MBUnit in TeamCity

I'm compiling a NAnt project on linux with TeamCity Continuous Integration server. I have been able to generate a test report by running NAnt on mono thru a Command Line Runner but don't have the options of using the report like a NAnt Runner. I'm also using MBUnit for the testing framework. How can I merge in the test report and displa...

How to get SpecUnit to run within a TeamCity CI build

I am trying to get SpecUnit to run in a continuous integration build using Nant. At the moment the files are in the correct place but no output is generated from SpecUnit.Report.exe. Here is the relevant task from the nant build script: <echo message="**** Starting SpecUnit report generation ****" /> <copy file="${specunit.exe}" tofile=...

Using AssemblyInfo to automatically update multiple AssemblyInfo.cs files

I've got several AssemblyInfo.cs files as part of many projects in a single solution that I'm building automatically as part of TeamCity. To make the msbuild script more maintainable I'd like to be able to use the AssemblyInfo community task in conjunction with an ItemGroup e.g. <ItemGroup> <AllAssemblyInfos Include="..\**\Assembl...

In continuous integration what is the best way to deal with external application dependencies

In using our TeamCity Continuous Integration server we have uncovered some issues that we are unsure as to the best way to handle. Namely how to reference external applications that our application requires on the CI server. This was initially uncovered with a dependency on Crystal Reports, so we went and installed Crystal Reports on t...

How do Teamcity artifact paths work?

Can anyone give me an example of what the Artifact paths setting defined for a build configuration could look like if I want to create two artifacts dist and source where I am using the sln 2008 build runner and building my projects using the default bin/Release? **/Source/Code/MyProject/bin/Release/*.* => dist **/*.* => source I get...

How can I pull artifacts from TeamCity?

I would like to pull artifacts from teamcity. I've been trying to use c# and the HtmlAgilityPack to goto the website and find the latest version and its artifacts. I'm currently stuck at the login, I think I just need to be sending Session Cookies out. Am I going in the right direction, has anyone else tried this? I realize that pushi...

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 reading around and found out about CruiseControl.NET, used on stackoverflow development, and Te...

Why is Nant not working with TeamCity?

I have nant set up to build my ASP.NET MVC project and it works fine locally. I add nant to a tools folder and add it to version control. TeamCity picks up my changes and starts the build but it fails. I believe I'm using the latest version of Nant and I have added the .net framework 3.5 to the nant.exe.config. What am I missing on t...

Team City versus CruiseControl.net- which one is better?

Are there real tangible differences or is it just a matter of taste? ...

Team City problem with unstopped instance of IE during watin test

We are using Team City and I noticed problem during running Watin test. Sometimes some instance of IE randomly just don't stop in task manager on build server, even if test closes all opened instances. This causes failure of all tests that follows. We tried with script that kills all instances of ie before this test starts runing, but th...

Determining what process has a lock on a file

I have a unit test that works fine locally but when uploaded to TeamCity build server fails with "The process cannot access the file because it is being used by another process." Before I do anything in the Test I check in the setup if the file exists and if so try to delete it. This fails with the same error message as above When wri...

Is it possible to implement pre-tested commits in TFS?

I'm intrigued by the idea in TeamCity of pre-testing commits (i.e. verifying they don't break the build before allowing check-in to occur) and I'm wondering if there is any way to implement this in TFS. It looks like TeamCity can interface to TFS version control as a backing store but of course I'd prefer a free solution. ...

Problems automatically precompiling website with MSbuild

All, I currently have my solution comprising of 2 Class librarys and a Web Site building within teamCity using Msbuild. Now I want to precompile the website and make it available as an artifact. However when i try to Precompile it using <Target Name="PrecompileWeb" DependsOnTargets="Build"> <AspNetCompiler PhysicalPath="$...

How do I setup TeamCity for public access over https?

How do I setup TeamCity 4.0 so that I can access it over port 443 on the internet? e.g. https://teamcity.mydomain.com I am running IIS 7 on the same server that TeamCity is installed. I see two options: Setup TeamCity to use port 8443 and create a reverse proxy in IIS that routes requests to the TeamCity public IP address to the Tom...

RSA Encryption : moving code from js to C#

I'm working on an useragent that logs into teamcity and I'm trying to move the password encryption from js to c#. this is the javascript the section called rsa.js and encrypt.js are important. They make a function call with rsa.setPublic(publicKey,"10001"); The exponent looks like its a hex number x10001 which is 65537 base10 as f...

TeamCity 4 and VisualSVN Server 1.6

Windows Server 2008 / IIS 7... I am trying to setup and CI environment using TeamCity 4. So far so good, VisualSVN Server / Subversion repository is all set, TeamCity is monitoring it, and firing off the build. I can use the TeamCity Webapp via http:localhost:8080 with no problem. My issue is that I can't access the TeamCity webapp r...

Using NUnit-2.5 RequiresSTAAttribute with TeamCity 4

Using TeamCity, I'm trying to get a (TestAutomationFX) test that requires an STA thread to run . It works via a custom app.config that configures NUnit 2.4.x (8) (as referred to by Gishu, thanks, described at http://madcoderspeak.blogspot.com/2008/12/getting-nunit-to-go-all-sta.html) It works via: /// <summary> /// Via Peter Provost /...

How to use Nant/TeamCity to Deploy across DMZ?

I have build server inside our domain (and it needs to be because it also talks to other boxes in the domain), and a webserver that is in the DMZ. As part of our build scripts, I would like to deploy websites to the webserver in the DMZ, using the Nant copy task. The problem is, that Nant is invoked from TeamCity which runs under the S...

How to retrieve Build Status in XML from TeamCity

Hi there, I need to retrieve the Build Status from TeamCity in the form of XML, RSS format would be ideal. I am familiar with the RSS feed within Teamcity but that is of no use as it is more of a history view. I am looking for something more like the page generated by the Status Widget but in XML form. (FYI, the status widget page is n...

"Thorough", tutorial on setting up Jetbrain's TeamCity CI server

Does anyone know where I can find a good tutorial to walk me through how to setup TeamCity CI server? I am new to unit testing and the agile philosophy of development so I could use some help getting my feet wet. I'm working with Asp.NET code using NUnit for my unit tests and would prefer a windows environment for the TeamCity server. Pl...