cruisecontrol.net

How can I prevent concurrent builds in CruiseControl.NET?

ε祈祈猫儿з 提交于 2019-12-04 10:46:14
问题 We have several projects in CruiseControl and I noticed that often 2 or more projects are building at the same time. This seems to be causing conflicts. Often, a build fails and if I look at the reason, it's failing to access some file, and if I wait until the other build completes, I can just force-build the failed build and it will succeed. How can I configure CC so that it won't run builds concurrently if they are going to conflict with each other? 回答1: You have to do all builds that

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

本小妞迷上赌 提交于 2019-12-04 10:35:54
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 detecting the changes happened in extern folders. How to make subversion ccnet task to build immediately

How to get CCTray [closed]

拥有回忆 提交于 2019-12-04 10:10:27
问题 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 7 years ago . I have successfully installed CruiseControl.Net server on windows 7 32 bit platform by CruiseControl.Net 1.8.0.0. setup file. But here there is no CCTray . Please let me know how to get CCTray. 回答1: Download it from official source (file is CruiseControl.NET-CCTray-1.8.0.0-Setup.exe): http://build.nauck-it.de

Private Accessor don't build when using MSBuild

天涯浪子 提交于 2019-12-04 09:09:36
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 use NUnit for our testing framework and CruiseControl.Net for our continuous integration server. EDIT:

Getting MSTest output to show in CruiseControl.Net

北城以北 提交于 2019-12-04 08:12:47
问题 I currently have our build server set up with CruiseControl.Net running a build using MSBuild and then running unit tests using MSTest. The problem is I can't see the output of the unit tests in CC - I know they are being run because I can get the build to fail if I commit a failing test. I have followed the online guides from http://blogs.blackmarble.co.uk/blogs/bm-bloggers/archive/2006/06/14/5255.aspx and http://www.softwarepassion.com/?p=89 but still having no luck. My ccnet.config file

Should AssemblyInfo.cs be placed in version control?

人盡茶涼 提交于 2019-12-04 07:50:19
问题 I have an automated build system using CruiseControl. I am using the SvnRevisionLabeller to to get the version string to use. With this string I can use nant to update AssemblyInfo.cs so when I build it has the correct build string. I can also use this CC label to tag the subversion repository. So everything is aligned - CCNet Build label - Executable (Assembly Information) - Version Control (subverson tag) Now where I have a problem is if I want to try to rebuild an old image from the

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

試著忘記壹切 提交于 2019-12-04 07:21:56
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 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 that will be deployment targets. Then you can simply add an execute step to your build process that runs

Getting MSBuild and CruiseControl .NET to build and deploy VS2010 database projects

孤街浪徒 提交于 2019-12-04 06:15:35
I almost have a NAnt script together that will build and deploy VS2010 database projects, but one error stands in my way: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(56,5): error MSB4062: The "SqlBuildTask" task could not be loaded from the assembly Microsoft.Data.Schema.Tasks.Sql, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.Data.Schema.Tasks.Sql, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find

Configuration does not have any version information - assuming the configuration is for version 1.5

余生长醉 提交于 2019-12-04 00:56:06
Where in ccnet.config set version? I search and read docs but there is no version mentioned. You can add this line in your config file: <cruisecontrol xmlns:cb="urn:ccnet.config.builder" xmlns="http://thoughtworks.org/ccnet/1/5"> It is mentionned in this tracker CCNET-1870 : http://jira.public.thoughtworks.org/browse/CCNET-1870 @Andy I got the same error in one of my configurations. If you use cb:include in your configuration file, you should also give xmlns=version-url cb:config-template in configuration files included by cb:include. 来源: https://stackoverflow.com/questions/2843506

Anything better than CruiseControl for .Net CI? [closed]

牧云@^-^@ 提交于 2019-12-03 16:16:21
问题 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 4 years ago . I've been asked to set up yet another CruiceControl environment for yet another client. I realized that I've been using CC for years without really looking around for competitors. Is there anything else that's sprung up that does the job equally well or better for .Net apps?