cruisecontrol.net

CruiseControl.Net + SSL

左心房为你撑大大i 提交于 2019-12-06 00:16:05
So just installed cruisecontrol.NET on my PC and I am using VisualSVN for the SVN hosting with https:// and a 'dummy' certificate. All this is on my local PC. The problem is that when I try and run cruisecontrol.NET - it keeps giving me "Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted" Im not sure how to make cruisecontrol.NET accept that the cert is OK ? Any ideas ? Run certmgr.msc as the user who your CCNET service is running under. Then, add your SSL cert to the "Personal" cerfiticates in there. The cert will then be trusted. But it

Putting Console Output from NUnit tests into the xml results

倾然丶 夕夏残阳落幕 提交于 2019-12-05 21:17:52
Our build process runs a series of integration tests that hit a web service. Each of these tests generates a unique identifier that is used by the web services to match log messages to service calls. The identifier is written to stdout during the tests. This works great when running the tests locally using Resharper, since it associates the stdout output to the individual test. However, when running the tests from the NUnit console application, the stdout output can only be written to the console, or a separate file from the results themselves, not the xml results file that is used by

Cruise Control .net: Using packages and showing NUnit results

此生再无相见时 提交于 2019-12-05 19:50:57
After much confusion, I have finally managed to successfully deploy a instance of Cruise Control .net on our build server. It polls the server every few minutes and builds only if it detects changes in the svn repository. For building and testing, I am using a combination of MSBuild and NUnit. MSBuild deletes all the previously generated test result xml files, builds the projects and runs NUnit. Finally I include the results generated from the test results into the current Cruise Control build result using Publisher\Merge option in the ccnet.config The results are pretty great. However the

CruiseControlException when connecting to source control

感情迁移 提交于 2019-12-05 19:29:28
I'm getting an exception from Cruise Control about not being able to connect to the server. However, if I force a build it works just fine. I've also tried using the repo-browser to connect to the server without any problems so I know that the server is up and running. I'm running CCNET 1.4.4 and SlikSVN 1.5.3. Below is the exception from the CCNET log: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: OPTIONS of 'https://some-server.com/trunk': could not connect to server (https://some-server.com) . Process command: C:\Program\SlikSvn\bin\svn.exe

Making a custom report with ccnet

谁说胖子不能爱 提交于 2019-12-05 19:24:22
So I have my output that I used the merge task to put into ccnet. Now what I need to do is come up with my own custom xsl and output the data. Any ideas on where there maybe a tutorial on how to do this? For example what plugin do I need to use? Can I create my own? What does action name do? <xslReportBuildPlugin description="MSBuild Output" actionName="MSBuildOutputBuildPlugin" xslFileName="xsl\msbuild.xsl" /> in your cruise control folder: CruiseControl.NET\webdashboard\xsl Copy any existing xsl (preferably one that is close to what you already want or in a format you like). you could start

Execute a command-line command from CruiseControl.NET

瘦欲@ 提交于 2019-12-05 12:00:52
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 default browser, Firefox. It works if I manually change the environment variable. What am I doing wrong

How do I force MSBuild to clean or rebuild?

梦想的初衷 提交于 2019-12-05 09:06:45
问题 I am using MSBuild from a script to compile my project. I have noticed that it just does a build and not a clean/rebuild. I have the following: <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="4.0"> <Target Name="Build"> <MSBuild Projects="$(MSBuildProjectDirectory)\myproj.csproj" Targets="Build" Properties="OutputPath=$(MSBuildProjectDirectory)\..\bin\" /> </Target> How do I force a clean/rebuild? 回答1: Change <MSBuild Projects="$

Continue Rake after failure

断了今生、忘了曾经 提交于 2019-12-05 08:19:09
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? kite How do you run NUnit from rake? are you using "sh"? This is how you use "sh" to execute shell command, and intercept the result. I just use empty block to ignore any result(failed or success) sh "your shell

Getting CC-Tray to work

ε祈祈猫儿з 提交于 2019-12-05 03:54:38
I am trying to get cc-tray to work instead of using the web dashboard. I'm not sure how I can get the correct url for the server that my cruisecontrol is running on and I can't find any useful documentations online. Can anyone help? Thanks It depends a bit on the version you use. It is always a good idea to use the version of CCTray that you download from your running instance of the CCNet dashboard (on the dashboard, in the left column, you'll find a link 'Download CCTray'). Then it is mostly a matter of "Add Server". Older versions required a Remoting connection that requires some ports open

HTTP 500 response connecting CCTray to CC.NET server via dashboard via RawXmlMessage.aspx

南楼画角 提交于 2019-12-05 01:22:33
I'm using CC.NET 1.6 server and its corresponding CCTray connecting happily via remoting but need to change to use the dashboard connection via HTTP so that I can start farming the URL out to developers. Putting my dashboard URL into CCTray: http://localhost/CruiseControl/server/local/ViewServerReport.aspx Results in CCTray returning Failed to connect to server: The remote server returned an error: (500) Internal Server Error. If I check my IIS logs, I can see the request was turned into a POST to this location and the log confirms the 500 response. /CruiseControl/server/local/ViewServerReport