cruisecontrol.net

Running cruise control.net under different credentials

久未见 提交于 2019-12-08 06:27:50
问题 So I have one part of my build that requires domain rights and does file copying. Another part of my build runs some program that requires the user to interact with the desktop which seem to be only accomplish able by the system account. What is the best way to work around these two items? At the moment it seems like I can only do one or the other... 回答1: One way is to do net use s: \\<share path> <password> /user:<domain user> /savecred , which will allow your system account to impersonate

Help needed configuring CruiseControl.NET statistics merge

孤街醉人 提交于 2019-12-08 04:48:21
问题 I am looking for a pointer as to how to get statistics out of a merge xml file. The file structure looks like this .. <CyclometricComplexity> <module name="Srvr" type="unit" total="14" low="14" medium="0" high="0" ultra="0"/> </CyclometricComplexity> I have created a merge publisher to pick up this file, but cannot configure the statistics publisher to pick up values for total, low, medium, high and ultra. Does anyone have an example they can point me at to help me out? Thanks 回答1: I think I

how to merge all web.configs at once for a mvc3 app

孤街醉人 提交于 2019-12-08 04:00:00
问题 I've got a mvc3 app with several configurations (debug, ci, qa, client-dev, client-qa, release). I've got web.configs merging nicely within visual studio for whatever configuration is currently selected in the ide. So I've got this in my project. web.config -web.ci.config -web.qa.config - etc.. I've also got the configs merging properly in cruise control. Unfortunately, I've got to build the entire product to get each config. Here is what my cruise control config looks like for a single

Pass arguments to svn when using CruiseControl.net

半世苍凉 提交于 2019-12-08 02:27:20
问题 I would like to pass arguments to SVN while I'm using CruiseControl.net. I have the following sourcecontrol block in my ccnet.config file: <sourcecontrol type="svn" username="username" password="password"> <trunkUrl>https://www.example.com/blah/blah/blah</trunkUrl> <workingDirectory>C:\Subversion\blah\</workingDirectory> </sourcecontrol> Is there anyway that I can alter the sourcecontrol block so that is passes some arguments to svn? 回答1: I found my own answer. Apparently the only way I could

CruiseControl.Net + SSL

僤鯓⒐⒋嵵緔 提交于 2019-12-07 18:50:19
问题 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 ? 回答1: Run certmgr.msc as the user who your CCNET service is running

Cruise Control .net: Using packages and showing NUnit results

巧了我就是萌 提交于 2019-12-07 14:57:14
问题 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

Making a custom report with ccnet

点点圈 提交于 2019-12-07 14:49:28
问题 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" /> 回答1: in your cruise control folder: CruiseControl.NET\webdashboard\xsl Copy any

CC.NET File merge task and dynamic values

情到浓时终转凉″ 提交于 2019-12-07 12:04:51
问题 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>

Help needed configuring CruiseControl.NET statistics merge

橙三吉。 提交于 2019-12-07 09:52:36
I am looking for a pointer as to how to get statistics out of a merge xml file. The file structure looks like this .. <CyclometricComplexity> <module name="Srvr" type="unit" total="14" low="14" medium="0" high="0" ultra="0"/> </CyclometricComplexity> I have created a merge publisher to pick up this file, but cannot configure the statistics publisher to pick up values for total, low, medium, high and ultra. Does anyone have an example they can point me at to help me out? Thanks I think I found how to do this. First I needed to understand how XPath works! Then I changed my output tool to create

CruiseControlException when connecting to source control

蓝咒 提交于 2019-12-07 07:06:56
问题 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':