Regarding CruiseControl.Net

If you are having a problem using Collab, post a message here.

Moderator: SourceGear


Posts: 1
Joined: Thu Mar 22, 2007 3:09 am
PostPosted: Thu Mar 22, 2007 3:17 am
Can anyone tell me that how can i forcefully build a project if no modifications are there than also. It is always checking for modifications and if no modifications is there it will not build the project..
The cruise control config file is as follows:

<cruisecontrol>

<project name="Print" requireModification="false" builtafterfailed="false">
<request source="intervalTrigger" buildCondition="ForceBuild">intervalTrigger triggered a build (ForceBuild)</request>

<bootstrappers>
<currentbuildstatusbootstrapper file="C:\logs\currentbuildstatus.txt" />
</bootstrappers>



<schedule type="schedule" sleepSeconds="1" />

<sourcecontrol type="vss" autoGetSource="true" applyLabel="true">
<project>$/Print</project>
<username>pkp</username>
<password>pkp</password>
<ssdir>\\Dbserver\vss\Chronica\Chronica20\Print</ssdir>
<executable>C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE</executable>

</sourcecontrol>


<build type="msbuild">
<executable>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe</executable>
<baseDirectory>E:\Final Chronica 2.0\Print</baseDirectory>
<buildArgs>"Print.sln" /t:Clean;Rebuild /p:Configuration=Debug /v:diag</buildArgs>
<buildCondition>ForceBuild</buildCondition>

<targetList>
<target>Build</target>
</targetList>
<logger>ThoughtWorks.CruiseControl.MsBuild.XmlLogger,ThoughtWorks.CruiseControl.MsBuild.dll</logger>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>



<publishers>
<xmllogger>
<logDir>C:\log\Printlog</logDir>
</xmllogger>
</publishers>


</project>


</cruisecontrol>

This is the code i had written plz suggest me what might be the problem...

Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
PostPosted: Thu Mar 22, 2007 7:46 am
This question would be best directed to the CruiseControl.NET mailing list
Ian Olsen
SourceGear

Return to Support (Collab)

Who is online

Users browsing this forum: No registered users and 1 guest

cron