cruisecontrol.net

Automate test of web service communication

与世无争的帅哥 提交于 2019-12-07 04:38:03
问题 I have an application that sends messages to an external web service. I build and deploy this application using MSBuild and Cruisecontrol.NET. As CCNET build and deploys the app it also runs a set of test using NUnit. I'd now like to test the web service communication as well. My idea is that as part of the build process a web service should be generated (based on the external web services WSDL) and deployed to the build servers local web server. All the web service should do is to receive

Continue Rake after failure

扶醉桌前 提交于 2019-12-07 04:10:14
问题 I'm running rake to automate my build process inside of CCNet. I use it to start IIS Express, then run Nunit, and then shutdown the server after Nunit has finished. The problem is that every time Nunit fails, the rake stops, and never gets to the shutdown part. How do I continue a rake after Nunit has failed, and still tell CCNet that Nunit has failed, and thus so has the build? 回答1: How do you run NUnit from rake? are you using "sh"? This is how you use "sh" to execute shell command, and

Comparison between CruiseControl, TeamCity and Team Foundation Server

荒凉一梦 提交于 2019-12-07 04:01:07
问题 Today we are using TFS 2008 for source control, and I imagine we will go for TFS 2010 as quick it goes RTM. We are going to use some continues integration tool but which one? I have been looking at both TeamCity and CruiseControl.NET both seems quite good (TeamCity were a little more easy to configure). I have seen some really promising screencast about TFS 2010 automation tools and it looks really good. But I have only scratched the surface of the tools. Which one should I use? 回答1: Given

MSBUILD fails with “The process cannot access the file xxxxx because it is being used by another process.” when maxcpucount is greater than 1

那年仲夏 提交于 2019-12-07 03:09:36
问题 I'm trying to improve build times using CruiseControl.NET and MSBUILD, and one of the commandline switches, maxcpucount can be used to allow the build occur in parallel. Our solution has 60+ projects so any improvement would be helpful. However, whenever I up the maxcpucount above one, we have frequent build failures due to: "The process cannot access the file xxxx because it is being used by another process. msbuild" It appears that the additional parallel build threads/processes are locking

Cruiscontrol Force Build After Build Fails

眉间皱痕 提交于 2019-12-06 20:34:24
buildafterfailed="true" does'nt work in .net, How can I do the same thing? I'm trying to have cruisecontrol triggers force builds until the build is successful. You can use Project Trigger with triggerStatus set to Failure and have a project monitor itself. buildafterfailed is specific to CruiseControl, from which CruiseControl.Net has diverged quite a lot. As a side note - doing this either way is probably a bad idea. 来源: https://stackoverflow.com/questions/1088040/cruiscontrol-force-build-after-build-fails

Integrating Visual Studio Test Project with Cruise Control

守給你的承諾、 提交于 2019-12-06 17:00:52
问题 I'm looking into using Visual Studio 2008's built in unit test projects instead of NUnit and I was wondering if anyone has any experience in trying to integrate this type of unit test project with Cruise Control.Net. 回答1: From some of the initial research it doesn't appear to be a super simple solution. It appears that doing this involves having Visual Studio 2008 actually installed on the continuous integration server, which could be a deal breaker. Then configure the MSTest.exe to run in

CruiseControl.NET and Clearcase configuration

与世无争的帅哥 提交于 2019-12-06 12:37:40
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 can look at? This is what does not work for me: <cruisecontrol> <project name="test"> <sourcecontrol type="clearCase"> <exec>batch file</exec> <viewPath>path_name</viewPath> <branch>main</branch> <autoGetSource>false</autoGetSource> <useLabel>true</useLabel>

Unable to publish using msbuild or aspnet_compiler using cc.net

夙愿已清 提交于 2019-12-06 09:05:26
问题 I am trying to automate publishing a project having many solutions in cc.net. I am using msbuild which in turn calls a aspnetcompiler xml file. Problem is my directory contains many solutions and when I run aspnetcompiler it gives me the following error. errorASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS I have tried all

How to ignore output from executable with CruiseControl.Net build?

流过昼夜 提交于 2019-12-06 04:48:56
问题 I'm running a little find and replace utility called fart.exe (yes, fart, as in Find and Replace Text) as part of my CC build. Works great. The problem is that FART while it is working displays a little ASCII spinner composed of pipe, dash, slash... | / - . There isn't a way to suppress this spinner, and CC thinks these little symbols are error messages and the build fails. I've tried: adding those symbols as successexitcodes in CC -- same result, apparently only ints work Calling fart via a

CC.NET File merge task and dynamic values

烈酒焚心 提交于 2019-12-06 02:18:58
How can I use CCNetLabel in the file merge task? From what I have found I have to use dynamicValues. I have something like this and it is not working any help? <publishers> <merge> <dynamicValues> <replacementValue property="files"> <format>D:\Testoutput\{0}\*.xml</format> <parameters> <namedValue name="$CCNetLabel" value="Default" /> </parameters> </replacementValue> </dynamicValues> </merge> <xmllogger /> <modificationHistory onlyLogWhenChangesFound="true" /> <statistics /> </publishers> In your script you're trying to generate the following configuration (intentionally I'm using the