使用Ant为CruiseControl.NET配置调度块时检测到未使用的节点

时间:2011-05-26 06:42:34

标签: cruisecontrol.net ccnet-config

我正在为CruiseControl.net开发一个调用Ant脚本的ccnet.config脚本,我在执行CruiseControl.NET服务时遇到以下错误:

错误:“检测到未使用的节点:计划块”

这是我的ccnet.config:

<cruisecontrol xmlns:cb="urn:ccnet.config.builder" xmlns="http://thoughtworks.org/ccnet/1/5">
  <project name="testprj">
    <webURL>http://localhost/ccnet</webURL>
    <modificationDelaySeconds>10</modificationDelaySeconds>
    <sourcecontrol type="cvs" autoGetSource="true">
      <executable>C:\dev\ccnet\ccnet\tools\cvs.exe</executable>
      <cvsroot>:ext:exortech@ccnet:/cvsroot/ccnetcontrib</cvsroot>
      <module>ccnet</module>
      <workingDirectory>C:\dev\Copy of FAT\</workingDirectory>
      <webUrlBuilder type="viewcvs">
        <url>http://localhost:7899/viewcvs/ccnet/NUnitDemo/</url>
      </webUrlBuilder>
    </sourcecontrol>
    <schedule>
      <ant>
        <antscript>C:\Apache\apache-ant-1.8.1\bin\ant.bat</antscript>
        <antworkingdir>C:\Apache</antworkingdir>
        <buildfile>internalpush.xml</buildfile>
        <uselogger>true</uselogger>
        <usedebug>false</usedebug>
      </ant>
    </schedule>
    <publishers>
      <merge>
        <files>
          <file>C:\dev\ccnet\ccnet\build\ccnet.exe-results.xml</file>
        </files>
      </merge>
      <xmllogger>
        <logDir>log</logDir>
      </xmllogger>
      <email mailhost="foo" from="sreekanth@foo.com" includeDetails="true">
        <users>
          <user name="BuildGuru" group="buildmaster" address="buildguru@mycompany.com"/>
          <user name="JoeDeveloper" group="developers" address="joedeveloper@thoughtworks.com"/>
        </users>
        <groups>
          <group name="developers">
            <notifications>
              <NotificationType>Change</NotificationType>
            </notifications>
          </group>
          <group name="buildmaster">
            <notifications>
              <NotificationType>Change</NotificationType>
            </notifications>
          </group>
        </groups>
      </email>
    </publishers>
  </project>
</cruisecontrol>

1 个答案:

答案 0 :(得分:3)

相关问题