cruisecontrol.net

Cruiscontrol Force Build After Build Fails

别说谁变了你拦得住时间么 提交于 2019-12-23 02:39:26
问题 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. 回答1: 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

Execute a command-line command from CruiseControl.NET

孤街醉人 提交于 2019-12-22 07:01:33
问题 I have this block of code in the CruiseControl.NET configuration: <exec> <executable>C:\Windows\System32\cmd.exe</executable> <buildArgs>/C SETX SELENIUM_BROWSER googlechrome /M</buildArgs> </exec> It is followed by an NUnit execution command that will run some Selenium tests on my website. The idea is that this command changes the testing browser (system environment variable) before the tests are run. The problem is that the command does not seem to be working. The tests are still using the

CruiseControl.NET service failing to build due to MSBuild ResolveKeySource error, despite certificate being imported

邮差的信 提交于 2019-12-21 20:27:47
问题 We just had an XBAP/WBA project added to our build server. It uses a PFX file for signing. I imported the PFX file to the CruiseControl.NET service certificate store, and can see it in the certificate store for the service. Yet we are still seeing an exception thrown by ResoveKeySource: c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets (1805,7): errorMSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Showing a modal dialog box or form

CruiseControl.Net Dashboard + Apache

旧街凉风 提交于 2019-12-21 19:45:35
问题 I'm trying to get cc.net dashboard running on a build machine that also has apache on it. I've tried installing mod_aspdotnet as described here. I can run the sample aspx page, but I am unable to get cc.net to run. Is there some magic I need to do? For what it's worth, http://localhost/ccnet manages to redirect me to http://localhost/ccnet/ViewFarmReport.aspx but that gives me a 404 error. Below is the relevant httpd.conf section: #asp.net LoadModule aspdotnet_module "modules/mod_aspdotnet.so

how to configure svn Task in CruiseControl.net to detect subversion external changes

依然范特西╮ 提交于 2019-12-21 17:55:12
问题 I have a .net project in subversion which is contineously integrated with Cruisecontrol.net. i use Svn source control CCNET task. The .net project library directory with set of reusable components configured as subversion externals. ProjectA\libraries {reusable components directory} ProjectA\libraries\component1 ProjectA\libraries\component2 ProjectA\libraries\component3 projectA\Src { source code directory} when the subversion externals are changed the build is not triggered, as it is not

Private Accessor don't build when using MSBuild

℡╲_俬逩灬. 提交于 2019-12-21 17:28:48
问题 My build server uses MSBuild to build my application. Our unit tests require access to some private members for testing, so we use the built in private accessors. Visual Studio has no problem with it, but when we push our code to the build server we get the error: MyTest.cs (96,13): errorCS0246: The type or namespace name 'My_Accessor' could not be found (are you missing a using directive or an assembly reference?) Why is it that MSBuild ignores the private accessors and how can I fix it? We

How do I deploy/publish a Web Application with CruiseControl.NET & MSBuild?

一曲冷凌霜 提交于 2019-12-21 12:31:08
问题 How do I deploy/publish a Web Application with CruiseControl.NET & MSBuild? I am new to CCNET and I able to get it to get the latest source from SVN and Build with MSBuild 3.5. How do I get the site to publish to another (DEVELOPMENT) server? Thanks for any pointers/examples. Cheers, ~ck 回答1: For publishing web sites to a development server after it is build on my CI server in CruiseControl.NET, I use Microsoft Web Deploy. It requires that you install the deployment service on any servers

How to pass an integration property to a batch file with CruiseControlNet?

半腔热情 提交于 2019-12-21 05:11:17
问题 In the build log of my project, i can see these properties: <integrationProperties> <CCNetProject>Gdet_T</CCNetProject> ... <LastModificationDate>4/6/2010 1:29:04 PM</LastModificationDate> <LastChangeNumber>10841</LastChangeNumber> </integrationProperties> I want to pass the property CCNetProject and LastChangeNumber to a batch file. it works well with CCNetProject , as it can be used in the batch as an environment variable %CCNetProject% . But it doesn't work with other properties (those are

Continuous Integration - with what to start: CruiseControl.NET vs TeamCity vs Visual Studio Team System [closed]

霸气de小男生 提交于 2019-12-21 03:59:15
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . I'm new to Continuous Integration. I want an advice with what tool should I start deal with. I see that this is the biggest tools right now: CruiseControl.NET, TeamCity and Visual Studio Team System. I'm using this tools: Visual Studio 2010, Mercurial, NAnt, NUnit. 回答1: Both

How do I tell MSTEST to run all test projects in a Solution?

老子叫甜甜 提交于 2019-12-21 03:17:22
问题 I need to know how to tell MSTEST to run all test projects in a solution file. This needs to be done from the command line. Right now I have to pass it a specific project file, I'm trying to get it to run from a SOLUTION file. I'm hoping this is possible, because in Visual Studio, hitting Ctrl+R, A, runs ALL tests in the currently opened solution. The way I've interpretted the help files, you have to pass in each DLL specifically. I want to run this from the command line from my CruiseControl