cruisecontrol.net

CruiseControl.NET: using $(CCNetLabel ) inside ccnet.config file

社会主义新天地 提交于 2019-11-27 10:54:30
问题 When calling external processes like MSBuild cruise control sets environment variables. One of values is CCNetLabel. it holds the value of the current projects label. I want to use the same values in ccnet config itself but when I try ccnet config has a problem. I get the following error: [CCNet Server:ERROR] INTERNAL ERROR: Reference to unknown symbol CCNetLabel ---------- ThoughtWorks.CruiseControl.Core.Config.Preprocessor.EvaluationException: Reference to unknown symbol CCNetLabel at

Can we tell CruiseControl.NET to ignore source control timeout errors?

眉间皱痕 提交于 2019-11-27 05:50:06
问题 We have CruiseControl.NET set up to do continuous integration of a number of our projects. We are using a <cb:define> block to make sure all of our source control operations are done in the same way, and to keep the config DRY. We are experiencing an issue every once in a while that cause the build to show "Exception". The message is as follows: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation has timed out. at ThoughtWorks.CruiseControl.Core.Sourcecontrol

How to fail an MSBuild when content files are missing

依然范特西╮ 提交于 2019-11-27 05:45:16
问题 I've noticed that our cruise control server does not fail the build when content files are missing. I'd like to fail the build when javascript / graphics files etc are missing. How can I go about validating the project file with the files pulled from svn? 回答1: You can create a target to check to make sure that all Content files are physically located on disk and raise an error if this is not the case. Here is such a target <Target Name="ValidateContentFiles"> <Error Condition="!Exists(%

Is there a good tutorial on MSBuild scripts? [closed]

杀马特。学长 韩版系。学妹 提交于 2019-11-26 23:24:51
I'm working on a web application project, and I need to create a build script; a build script that I can trigger from my cruisecontrol server. Since nant has not been maintained for ages, I figure that MSBuild is the way to go. I need the build script to be able to Compile all assemblies Execute unit tests Run NCover analysis on the unit tests Deploy the database (depending on parameters). This is really executing a tool since I will end up writing my own tool to deploy the database. But the execution of the tool should be conditional based on some command line parameter. Deliver unit tests

CruiseControl [.Net] vs TeamCity for continuous integration?

邮差的信 提交于 2019-11-26 14:06:45
I would like to ask you which automated build environment you consider better, based on practical experience. I'm planning to do some .Net and some Java development, so I would like to have a tool that supports both these platforms. I've been reading around and found out about CruiseControl.NET , used on stackoverflow development, and TeamCity with its support for build agents on different OS-platforms and based on different programming languages. So, if you have some practical experience on both of those, which one do you prefer and why? Currently, I'm mostly interested in the ease of use and

SVN checkout ignore folder

£可爱£侵袭症+ 提交于 2019-11-26 11:48:59
问题 Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server. edit: Ignore externals isn\'t an option. I have some externals that I need. 回答1: You can't directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example: $ svn co http://subversion/project/trunk my_checkout --depth immediates This will check files and directories from your project trunk into 'my_checkout', but not recurse into those directories. Eg: $ cd my

Is there a good tutorial on MSBuild scripts? [closed]

懵懂的女人 提交于 2019-11-26 08:44:27
问题 I\'m working on a web application project, and I need to create a build script; a build script that I can trigger from my cruisecontrol server. Since nant has not been maintained for ages, I figure that MSBuild is the way to go. I need the build script to be able to Compile all assemblies Execute unit tests Run NCover analysis on the unit tests Deploy the database (depending on parameters). This is really executing a tool since I will end up writing my own tool to deploy the database. But the

CruiseControl [.Net] vs TeamCity for continuous integration?

為{幸葍}努か 提交于 2019-11-26 05:55:21
问题 I would like to ask you which automated build environment you consider better, based on practical experience. I\'m planning to do some .Net and some Java development, so I would like to have a tool that supports both these platforms. I\'ve been reading around and found out about CruiseControl.NET, used on stackoverflow development, and TeamCity with its support for build agents on different OS-platforms and based on different programming languages. So, if you have some practical experience on