Have you tried putting in the "seconds" following the "name" so it
knows how often to poll your source control system?


On Mar 8, 12:43 pm, msbuild <[email protected]> wrote:
> Hello, I'm having a difficult time getting triggers to function, I'm
> using version 1.4.4.83
> with the following config: generating this error:
>
> [CCNet Server:INFO] Reading configuration file "C:\Program Files
> \CruiseControl.N
> ET\server\ccnet.config"
> [CCNet Server:ERROR] Exception: Unused node detected: <triggers />
> ----------
> ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Unused
> node detec
> ted: <triggers />
>
> <project name="BRANCH_3rdParty_Msg_HipCricket.Library">
>     <workingDirectory>D:\Projects\Core\HipCricket.Library\BR_Working</
> workingDirectory>
>     <artifactDirectory>D:\Projects\Core\HipCricket.Library
> \BR_Artifacts</artifactDirectory>
>         <!-- labeller is run here, before <sourcecontrol> block such that the
> svn
>         check can use the revision number from the labeller to ensure it
> checks/updates to
>         the same version as the labeller,emliminating a possible race
> condition of getting the source and a commit-->
>         <!--label is produced and made available to <task> blocks by means of
> the env variable CCNetLabel, this variable
>                 can then be accessed by msbuild as ${CCNetLabel} -->
>         <triggers>
>                 <intervalTrigger name="continuous"
> buildCondition="IfModificationExists " initialSeconds="30" />
>         </triggers>
>          <labeller type="svnRevisionLabeller">
>                 <prefix>BR_3rdParty_Msg_HipCricket.Library_</prefix>
>                 <major>1</major>
>                 <minor>0</minor>
>                 <!--build>1</build-->
>                 <!--incrementOnFailure>false</incrementOnFailure-->
>                 <url>SVN_LOCATION</url>
>         </labeller>
>         <!-- <sourcecontrol> for this project will always get latest-->
>         <sourcecontrol type="multi">
>                 <sourceControls>
>                         <svn>
>                           <!--References -->
>                           <trunkUrl>SVN_LOCATION</trunkUrl>
>                           
> <executable>c:\progra~1\collab~1\svn.exe</executable>
>                           
> <workingDirectory>D:\Projects\References\trunk</workingDirectory>
>                           <username></username>
>                           <password></password>
>                         </svn>
>                         <svn>
>                           <!--HipCricket.Library -->
>                           <trunkUrl>SVN_LOCATION</trunkUrl>
>                           
> <workingDirectory>D:\Projects\Core\HipCricket.Library\branches
> \2010013rdPartyMessaging</workingDirectory>
>                                   
> <executable>c:\progra~1\collab~1\svn.exe</executable>
>                                   <username></username>
>                                   <password></password>
>                         </svn>
>                 </sourceControls>
>         </sourcecontrol>
>     <triggers />
>     <tasks>
>       <msbuild>
>         <executable>C:\WINDOWS\Microsoft.NET\Framework
> \v3.5\msbuild.exe</executable>
>         <workingDirectory>D:\Projects\Core\HipCricket.Library\branches
> \2010013rdPartyMessaging</workingDirectory>
>         <projectFile>HipCricket.Library.sln</projectFile>
>         <buildArgs>
>                         /p:Configuration=Release
>                         /p:ReferencePath=D:\Projects\References\trunk
>                         /p:ReferencePath=D:\Projects\References\trunk
> \RhinoMocks3.5Framework
>                 </buildArgs>
>         <logger>C:\Program Files\CruiseControl.NET\server
> \ThoughtWorks.CruiseControl.MsBuild.dll</logger>
>         <timeout>900</timeout>
>       </msbuild>
>           <nunit>
>                 <path>C:\Program Files\NUnit 
> 2.5.1\bin\net-2.0\nunit-console.exe</
> path>
>                         <assemblies>
>                                 
> <assembly>D:\Projects\Core\HipCricket.Library\branches
> \2010013rdPartyMessaging\HipCricket.LibraryTests\bin\Release
> \HipCricket.LibraryTests.dll</assembly>
>                         </assemblies>
>         </nunit>
>     </tasks>
>
>     <publishers>
>         <xmllogger logDir="D:\Projects\Core\HipCricket.Library\BR_Artifacts
> \buildlogs" />
>       <buildpublisher />
>          <email mailhost="mail.hipcricket.com"
> from="[email protected]">
>                 <users>
>                  <email_users>
>                 </users>
>
>                 <groups>
>                 <!-- <notification>-->
>                         <group name="buildmaster" >
>                                 <notification>
>                                 <notificationType>Always</notificationType>
>                                 </notification>
>                         </group>
>                         <group name="developers" >
>                                 <notification>Success,Failed</notification>
>                         </group>
>                         <group name="qa" >
>                                 <notification>Success,Failed</notification>
>                         </group>
>                 </groups>
>                 <converters />
>                 <modifierNotificationTypes>
>                 <!--add types here-->
>                         <NotificationType>Failed</NotificationType>
>                         <NotificationType>Fixed</NotificationType>
>                         <NotificationType>Success</NotificationType>
>                 </modifierNotificationTypes>
>
>                 <includeDetails>true</includeDetails>
>
>                 <subjectSettings>
>                 <subject buildResult="Success" value="${CCNetProject} Build
> Successful ${CCNetLabel}" />
>                 <subject buildResult="Broken" value="${CCNetProject} broke at 
> $
> {CCNetBuildDate} ${CCNetBuildTime} , lastcheckin(s)by $
> {CCNetFailureUsers}"/>
>                 <subject buildResult="StillBroken" value="Build is still 
> broken for $
> {CCNetProject}, the fix failed." />
>                 <subject buildResult="Fixed" value="The build is ok now, it 
> was
> broken/exceptioned last time ${CCNetProject}." />
>                 <subject buildResult="Exception" value="Serious problem for $
> {CCNetProject}, it is now in Exception! Check status of network /
> sourcecontrol"/>
>                 </subjectSettings>
>           </email>
>           <exec executable="D:\Projects\Tools\build\trunk\scripts
> \post_build_BR_library_copy.cmd" />
>     </publishers>
>   </project>
>
> This build executes correctly (without triggers, and using actual
> svn_locations & email users) using cctray, whether or not I remove it
> from cctray the same error results.. any help would be most
> appreciated
> Thank you

Reply via email to