cruisecontrol.net

CruiseControl.NET Visual Studio Test Cases not showing up on dashboard

Hey, I'm using CruiseControl.NET to run visual studio test cases after my project builds. In the raw xml log I can see it running the test cases and saying which passed and which failed, however on the CruiseControl dashboard all it says is: 9 Projects built with no warnings at all :-) Juchuu !!! Here's what my project block looks lik...

CruiseControl.NET MSTest not overwriting trx file

Hey, I'm trying to show the results of visual studio unit tests within CruiseControl. Here is the relevant part of my config: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\mstest.exe C:\Build\Test\TestCases\ /testcontainer:H4Test\bin\debug\H4Test.dll /runconfig:localtestrun.Testrunconfig /resultsfile:H4Test\H4Re...

Better Ways to Maintain Continuous Integration?

I find that I am always tuning and tweaking our CI setup as we add new projects. While there is NO question that the benefits are awesome for existing code that seldom changes, new projects or volitile ones seem to require more work as I have to configure each project to be "intergrated" as well as maintain an ever-growing CCNET.config ...

nCover + MSTest + CruiseControl = Zero Coverage

Hi, I use CruiseControl.net, MSTest 3.5 and nCover 1.5.8. I am new to nCover and want to integrate it in CruiseControl. The problem is that I get a 0% coverage result but it should be 100%. My demo app calls just one method and in my mstest project this method is tested. in my cruiseControl server all works fine without ncover and i ca...

Stop windows service before CruiseControl.NET get latest

Hey, I'm trying to figure out how to run a bat file that stops a windows service before the CruiseControl.NET project gets latest, as it'll fail saying the files are in use (by the running windows service.) I can't figure out how to run a task before it gets latest, as the source control block isn't a task, it's directly under the proje...

What's the easiest way to make a CC.NET local trigger to execute a program?

When the build fails, I'd like to execute a program that shoots me in the head with this. I've written the program already - I just need it to run when I break the build. CCTray has the option to make a sound or icon - but not to run a file. Any simple ideas? I'd rather this not be an all day project. :) ...

Url to get latest build # of CC.NET project?

I have CruiseControl.NET version 1.4.4.83, and I am wondering if there it provides a url where the only control is the lastest build # of a project, so that I can access that data using curl or something? Something like http://buildserver/ccnet/server/VMSDEV2/project/MyProject/LatestBuild.aspx All that it would have is: 0.0.0.31 Upda...

JavaScript Unit Testing integrated with CruiseControl.NET

I'm looking for framework which provides unit tests for JS. Later, I'll have to integrate it with CruiseControl.NET. I have a lot of asp websites using JS and I need to automate testing for them. For example I used local JSUnit (may be other framework), which was quite easy for me, but I have no idea how to integrate it with CC.NET. Mayb...

How to configure Apache to run CruiseControl.NET dashboard with mod_aspdotnet.

I have installed CruiseControl.NET and VisualSVN Server on my development server. Rather than running CruiseControl.NET Web Dashboard off IIS, I would like to run it off the Apache that VisualSVN Sever installs. I stumbled onto this question on Stackoverflow, and it has helped a lot. I have the following config in the http-custom.conf f...

Cruisecontrol.net Robocopy SMB permissions issue

Hello I'm having problems with robocopying a repository from a windows server machine to a samba share. When I run the copy logged in with my domain username on the server it works in the terminal, but when I run it through cruisecontrol it's failing, CC is reporing back Access is denied. <message>2010/07/08 14:54:41 ERROR 5 (0x00000...

CCnet MsBuild and MSTest

Hi, I've set up a CCNet Server with MSBuild and MSTest. Afterwards I've created a Test Project with some Unit Tests. The Build is sucessfull, but two of the Unit Tests do fail (on purpose). I receive an Email that the Build was not successfull (even only the Unit Tests failed). Is it possible to send a seperated Email (if only the Unit...

NAnt: executing NCover as administrator account - runas returns directly without waiting

Hi, My NAnt build runs as a non-admin as part of CruiseControl. But we have an NCover task which needs to run as an Administrator. For this we are thinking about using RunAs with an admin account. The problem is that RunAs returns directly and doesn't wait for the process to exit. Is there a way to block the NAnt build until NCover ha...

JS Unit Testing on NUnit/NAnt

Maybe you know the simplest way of unit testing javascript functions (not UI like Selenium or WatiN) which can be automated (I prefer using NUnit, eventually NAnt) ? I need to introduce an automated unit test for javascript functions on CruiseControl.NET (so with NUnit and NAnt) - but maybe there is other way ? Thanks, Dawid ...

CCnet editing Report Email

Hi, I would like to edit the "header.xsl" file in the /xls folder, does anybody know where I can find the correspondending *.XML file or the name of it??? Or is it just the actual LOG? kind regards ...

CCNet Scheduled Unit Tests with MSTest

Hi, I would like to do scheduled Unit Tests (so the Unit Tests are not always performed, while Building the project). Is it possible? If yes, how to? Kind Regards ...

CCNet Trigger different Tasks

I would like to have two (or more) different triggers for different tasks in one project. Is this possible? For example: A interval Trigger to build my project ones an hour and a scheduled trigger to perform my unit test once every day. I'm using the latest version of CCNet with MSBuild and MSTest. ...

CruiseControl.NET and Clearcase configuration

I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic. Does anyone use this combination? Do you have a ccnet.config file I c...

CCNet Dashboard empty

Until yesterday everything went fine and I could see all my three projects at the dash board (localhost:port/ViewFarmReport.aspx). I've only edited the dashboard.config (also set it to defautl again) but nothing changed and I still cannot see any of my projects. Does anyone know what to do? I only get to see the "normal" dashboard surfac...

Parameter Not Applied when Executing sqlcmd from CruiseControl.NET

OK, so here's the scenario. CruiseControl.NET (Version : 1.5.7256.1) runs a project to rebuild a database. The CruiseControl.NET windows service is running as a windows user we created for CC.NET. There are several tasks in the project but they all run fine. However, one of the tasks that runs is a console based utility I wrote in C# th...

Can I get MSBuild output from CCNet api?

I am building an asp.net shell on top of CCNet 1.5, where I send commands like force build to CCNet through the api. The ThoughtWorks.CruiseControl.Remote namespace has methods to get information from CCNet on the build, like status, elapsed time, etc. I would like to programmatically get the MSBuild task output from the CCNet api, but ...