<!-- Confidential - Copyright 2008 AutoVirt, Inc., all rights reserved - Patent pending $Id:$ --> <!DOCTYPE cruisecontrol [ <!ENTITY SVN_DIR "E:\svn"> <!ENTITY ACCUREV_DIR "E:\accurev"> <!ENTITY CI_Opus_Development_Build_Workspace "CI.Opus_Development_Build"> <!ENTITY CI_Opus_Integration_Build_Workspace "CI.Opus_Integration_Build"> <!ENTITY CI_Opus_Scherzo_Development_Build_Workspace "CI.Opus_Scherzo_Development_Build"> <!ENTITY POWERSHELL "C:\WINDOWS\system32\WindowsPowerShell \v1.0\powershell.exe">
<!ENTITY svnMainTrunk " <!-- the timeout has intentionally left out because even long timeout periods result in an Exception claiming that svn has timed out--> <sourcecontrol type='svn'> <trunkUrl>http://svn/main/trunk</trunkUrl> <workingDirectory>&SVN_DIR;\main\trunk</workingDirectory> <username>avlab\build</username> <password>@Utov1rt</password> <autoGetSource>true</autoGetSource> </sourcecontrol> "> <!ENTITY AccuRevGetSource_Opus_Development_Build " <sourcecontrol type='accurev'> <autoGetSource>true</autoGetSource> <executable>c:\Program Files\AccuRev\bin\accurev.exe</ executable> <homeDir>c:\Documents and Settings\build</homeDir> <workspace>&ACCUREV_DIR;\&CI_Opus_Development_Build_Workspace;</ workspace> <login>true</login> <principal>build</principal> <password></password> </sourcecontrol> "> <!ENTITY nightlyBuildLabel " <labeller type='defaultlabeller'> <prefix>1.0.</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> "> <!ENTITY commitBuildLabel " <labeller type='defaultlabeller'> <prefix>Commit-</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> "> <!ENTITY Opus_Development_Label " <labeller type='defaultlabeller'> <prefix>Opus_Development_</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> "> <!ENTITY metricBuildLabel " <labeller type='defaultlabeller'> <prefix>Metric-</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> "> <!ENTITY deployBuildLabel " <labeller type='defaultlabeller'> <prefix>Deploy-</prefix> <incrementOnFailure>true</incrementOnFailure> </labeller> "> <!ENTITY MSBuildAllTestsTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&SVN_DIR;\main\trunk\Source\</ workingDirectory> <projectFile>Source.proj</projectFile> <buildArgs>/noconsolelogger / property:Configuration=Debug;TargetFrameworkVersion=v3.5 / verbosity:minimal /t:Clean</buildArgs> <targets>Build</targets> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!ENTITY CleanTrunkTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&SVN_DIR;\main\trunk\</workingDirectory> <projectFile>Trunk.proj</projectFile> <buildArgs>/t:Clean</buildArgs> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!ENTITY CleanOpusDevelopmentTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&ACCUREV_DIR; \&CI_Opus_Development_Build_Workspace;\main</workingDirectory> <projectFile>Trunk.proj</projectFile> <buildArgs>/t:Clean</buildArgs> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!-- builds application, builds tests, builds installers, builds non- component installers for tests --> <!ENTITY BuildTrunkTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&SVN_DIR;\main\trunk\</workingDirectory> <projectFile>Trunk.proj</projectFile> <buildArgs>/t:Build /p:Tests=true /p:TestInstallers=true / noconsolelogger</buildArgs> <timeout>900</timeout> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!-- builds application, builds tests, builds installers, builds non- component installers for tests --> <!ENTITY BuildOpusDevelopmentTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&ACCUREV_DIR; \&CI_Opus_Development_Build_Workspace;\main</workingDirectory> <projectFile>Trunk.proj</projectFile> <buildArgs>/t:Build /p:TestInstallers=true /noconsolelogger</ buildArgs> <timeout>900</timeout> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!ENTITY BuildOpusDevelopmentReleaseTask " <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework \v3.5\MSBuild.exe</executable> <workingDirectory>&ACCUREV_DIR; \&CI_Opus_Development_Build_Workspace;\main</workingDirectory> <projectFile>Trunk.proj</projectFile> <buildArgs>/t:Build /p:Configuration=Release /p:Tests=false / noconsolelogger</buildArgs> <timeout>900</timeout> <logger>C:\Program Files\CruiseControl.NET\server \ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> "> <!ENTITY successfulCommitBuildTrigger " <projectTrigger serverUri='tcp://localhost:21234/ CruiseManager.rem' project='All.Tests.CommitBuild'> <triggerStatus>Success</triggerStatus> <innerTrigger type='intervalTrigger' seconds='30 ' buildCondition='ForceBuild'/> </projectTrigger> "> <cruisecontrol> <!-- Note: adding queue and queue Priority prevents parallel processing--> <!-- ACCUREV "Opus_Development COMMIT BUILD --> <project name="Opus_Development" queue="AccuRevQueue" queuePriority="2"> <category>AutoVirt</category> <modificationDelaySeconds>30</modificationDelaySeconds> <workingDirectory>&ACCUREV_DIR; \&CI_Opus_Development_Build_Workspace;</workingDirectory> &AccuRevGetSource_Opus_Development_Build; &Opus_Development_Label; <triggers> <intervalTrigger name="continuous" seconds="120" buildCondition="IfModificationExists"/> <!-- can add a buildCondition="ForceBuild" when testing, else set to IfModificationExists--> </triggers> <tasks> &CleanOpusDevelopmentTask; &BuildOpusDevelopmentTask; &BuildOpusDevelopmentReleaseTask; </tasks> <publishers> <merge> <files> <file>..\..\..\..\build\*-results.xml</file> </files> </merge> <xmllogger /> <statistics /> </publishers> </project> </cruisecontrol> On Mar 5, 2:35 pm, Ruben Willems <ruben.will...@gmail.com> wrote: > Hi > > I do not have Accurev knowledge, > so maybe it is best to post your config, so users with accurev can help you > out > > with kind regards > Ruben Willems > > > > On Thu, Mar 5, 2009 at 8:16 PM, portablemojo <portablem...@gmail.com> wrote: > > > Hi Ruben!! > > Its Accurev. > > > thanks, > > Russ > > > On Mar 5, 1:57 pm, Ruben Willems <ruben.will...@gmail.com> wrote: > > > Hi > > > > what source control are you using? > > > > with kind regards > > > Ruben Willems > > > > On Thu, Mar 5, 2009 at 4:52 PM, portablem...@gmail.com < > > > > portablem...@gmail.com> wrote: > > > > > Question: > > > > Why does CCNET build on modification to my Opus_Development_Build > > > > stream, when I am asking it (in the ccnet.config Project block) to > > > > build off of Opus_Development. Which is one stream up from > > > > Opus_Development_Build? > > > > My project name is "Opus_Development" in my ccnet.config. Is that > > > > enough for the trigger: > > > > > <triggers> > > > > <intervalTrigger name="continuous" seconds="120" > > > > buildCondition="IfModificationExists"/> > > > > > To pick the correct stream to build off of? > > > > > With this architecture, I thought ccnet would watch Opus_Development > > > > for a modification, and upon detecting one, do a checkout to my > > > > Opus_Development_Build workspace from the Opus_Development_Build > > > > stream. > > > > But it is behaving 'erratically'. Sometimes it build on the > > > > Opus_Development stream on modification, and sometimes it builds on > > > > the Opus_Development_Build stream on modification! > > > > > Can anyone shed some light on this? Lemme know if you want to see my > > > > ccnet.config. > > > > > thanks, > > > > -Russ- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -