ccnet-config

MSBUILD error where folder contains more than one solution file

纵然是瞬间 提交于 2021-01-27 05:09:33
问题 I'm trying to set up CCNET and I've run into a problem. My builds are failing and I'm getting this error MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file. In my configuration file ccnet.config my msbuild block is as follows <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable> <workingDirectory>C:\example\directory</workingDirectory> <projectFile>ExampleSolution.sln

MSBUILD error where folder contains more than one solution file

空扰寡人 提交于 2021-01-27 05:09:01
问题 I'm trying to set up CCNET and I've run into a problem. My builds are failing and I'm getting this error MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file. In my configuration file ccnet.config my msbuild block is as follows <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable> <workingDirectory>C:\example\directory</workingDirectory> <projectFile>ExampleSolution.sln

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

How to pass an integration property to a batch file with CruiseControlNet?

半腔热情 提交于 2019-12-21 05:11:17
问题 In the build log of my project, i can see these properties: <integrationProperties> <CCNetProject>Gdet_T</CCNetProject> ... <LastModificationDate>4/6/2010 1:29:04 PM</LastModificationDate> <LastChangeNumber>10841</LastChangeNumber> </integrationProperties> I want to pass the property CCNetProject and LastChangeNumber to a batch file. it works well with CCNetProject , as it can be used in the batch as an environment variable %CCNetProject% . But it doesn't work with other properties (those are

How do I share a label value between multiple CruiseControl.NET builds?

自作多情 提交于 2019-12-18 16:57:53
问题 I have two projects set up in CruiseControl.NET: CI build and nightly build. Both of them execute the same NAnt script, but with different parameters. The CruiseControl.NET label (currently generated by the DefaultLabeler ) is embedded into AssemblyInfo as the build part of the version (for example, MajorVersion.MinorVersion.CCNET_Label.SVN_Revision ). For more consistent versioning I would like both projects to share the same CruiseControl.NET label value. I have investigated the labelers

The command “”.\Bin\mt.exe" -nologo -manifest … exited with error code 3 in CCNET

血红的双手。 提交于 2019-12-11 08:16:20
问题 I am trying to build my VS 2008 project in CCNEt and getting the below error <message level="high"><![CDATA[".\Bin\mt.exe" -nologo -manifest "C:\MyProject\MyFile.exe.manifest" -outputresource:"C:\MyProject\bin\Release\MyFile.exe;#1"]]></message> <message level="high"><![CDATA[The system cannot find the path specified.]]></message> <error code="MSB3073" file="C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets" line="3397" column="13"><![CDATA[The command "".\Bin\mt.exe" -nologo

svn command line error “Server certificate verification failed: issuer is not trusted” how can i resolve this error?

别等时光非礼了梦想. 提交于 2019-12-10 16:10:02
问题 I have CCNET build server setup. I get above error when i define <sourcecontrol type="svn"> <executable>c:\Program Files\VisualSVN Server\bin\svn.exe</executable> <trunkUrl>https://test-server.local/svn/test/Websites/test.com/trunk</trunkUrl> <workingDirectory>D:\Program Files\mypath</workingDirectory> <username>user</username> <password>password</password> </sourcecontrol> in my ccnet.config I get Server certificate verification failed: issuer is not trusted test-server.local" how can I

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>

CC.NET File merge task and dynamic values

烈酒焚心 提交于 2019-12-06 02:18:58
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> In your script you're trying to generate the following configuration (intentionally I'm using the

How to pass an integration property to a batch file with CruiseControlNet?

放肆的年华 提交于 2019-12-03 15:27:04
In the build log of my project, i can see these properties: <integrationProperties> <CCNetProject>Gdet_T</CCNetProject> ... <LastModificationDate>4/6/2010 1:29:04 PM</LastModificationDate> <LastChangeNumber>10841</LastChangeNumber> </integrationProperties> I want to pass the property CCNetProject and LastChangeNumber to a batch file. it works well with CCNetProject , as it can be used in the batch as an environment variable %CCNetProject% . But it doesn't work with other properties (those are not starting with the CCnet prefix) as LastChangeNumber or LastModificationDate . I tried to pass it