cruisecontrol.net

How to execute a program on remote machine from Cruise Control .net build process?

蹲街弑〆低调 提交于 2019-12-30 11:26:46
问题 I want to run a tool as part of my build process which requires environment setup for its execution. I have setup this environment on another machine. Is there any way I can execute the program on the remote machine from my cruise control .net build process. I know how to run the tools on the same machine. but I am not able to figure out how can i execute it if this tool is on remote machine. Any suggestions? 回答1: One option is to use psexec to remotely call a command-line tool on another

MSDeploy all configuration [.config files] in one package

白昼怎懂夜的黑 提交于 2019-12-30 04:50:08
问题 We have 4 different environments at the moment (Lab, Test, Stage, LIVE) and we have implemented automatic deployment using Nant/CC.Net. I am investigating and doing some research as to what can be done more efficiently with new MSDeploy tool. What I want to achieve is to create a package with a Configuration folder inside which we will have all the different configuration files for all the possible environments (basically adding all config transform files) What I want to achieve is automatic

Is there an API for Cruise Control .NET? [closed]

我与影子孤独终老i 提交于 2019-12-29 14:06:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Is there an API I can use with Cruise Control .NET (ccnet) to query the server, for example to get the status of various builds? I have noticed that there are a few options in the ccnet tray application for connecting but I cannot find any documentation of the service API or examples of how to consume it. 回答1:

Cruise Control .Net not showing Nant build errors

孤者浪人 提交于 2019-12-29 08:12:34
问题 We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image below The build errors can be seen on the View Build Log page, but they aren't making it through to the Build Report page. The build itself is pretty simple, it's just a Nantcontrib msbuild element that builds a .Net 3.5 .sln file. Any ideas? 回答1:

CruiseControl.net - CCNetUser property empty

[亡魂溺海] 提交于 2019-12-25 04:18:06
问题 Looking at a recent build log I noticed the CCNetUser property is set to empty, should it not be the user who has requested the build? <cruisecontrol project="..."> <parameters> .... <parameter name="$CCNetUser" value="" /> I want the username of the person who's just requested a force build so that I can send them an e-mail. 回答1: The CNetUser property can be empty if it's not a force build. If the build is triggered by a source control/project trigger then the property is empty. If the build

cc.net project visibility

落花浮王杯 提交于 2019-12-25 01:52:44
问题 Is it possible to restrict the visibility of the projects listed in the cc.net Dashboard? I have Projects 1, 2 and 3 listed in the Dashboard. I would like to move Projects 2 and 3 to a different dashboard. This is so I can hand out URL1 to dashboard1 that lists Porject1 and URL2 to Dashboard (listing Projects 2 and 3) to another set of people. Because the dashboard reads from the same cc.net.config file, is it possible to separate the projects, by, say adding an attribute? TIA 回答1: I believe

Using dynamic parameters in email publisher subjectSettings block with CruiseControl.Net

夙愿已清 提交于 2019-12-24 05:58:57
问题 I am trying to get dynamic parameters to be used in the email publisher's subjectSettings block. For example, <project> ... <parameters> <textParameter> <name>version</name> <display>Version to install</display> <description>The version to install.</description> <required>true</required> </textParameter> </parameters> <tasks> ... </tasks> <publishers> .... <email includeDetails="TRUE"> <from>buildmaster</from> <mailhost>localhost</mailhost> <users> <user name="Joe" group="buildmaster" address

Examples of modificationReader task in CC.Net?

眉间皱痕 提交于 2019-12-23 17:24:35
问题 I am trying to set up a build chain that propagates a modification history through the various build stages. My first thought was modificationWriter/modificationReader pairs, but I am having trouble getting the reader to read the results. Does anybody have any examples or tips? I am using the latest CC.NET 1.4.4 SP1. Thanks! 回答1: Got it after some playing. Note that you need a recent version of CC.NET, I think version 1.4.3 or newer. This is from 1.4.4 SP1. I had first tried on 1.4.0 but the

CruiseControl “Unused node detected” error when adding xmlns to Project node

女生的网名这么多〃 提交于 2019-12-23 10:25:52
问题 I am trying to use the Cruise Control preprocessor functionality to break my configuration into smaller reusable sections. I can use the include feature great from within the root cruisecontrol node, like so: <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <cb:include href="child.config" /> </cruisecontrol> If I try and use another include within the child config (like so): <project name="TestProject" xmlns:cb="urn:ccnet.config.builder"> <cb:include href="grandchild.config" /> </project>

SignTool.exe Sporadically Fails with Exit Code 1

那年仲夏 提交于 2019-12-23 07:55:08
问题 As part of our build system, we use signtool.exe with a certificate to sign our binaries once they've been built. Occasionally (it's hard to tell when it will strike), the signing fails: error MSB3073: The command "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\signtool.exe" [...] exited with code 1. According to the MSDN, an exit code of 1 means that there was an error signing the file. I can verify that the file didn't get signed. I've also noticed that occasionally, the timestamp