cruisecontrol.net - 使用 Ant for CruiseControl.NET 配置计划 block 时检测到未使用的节点

标签 cruisecontrol.net ccnet-config

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

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

这是我的 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="<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d6a5a4b3b3bdb7b8a2be96b0b9b9f8b5b9bb" rel="noreferrer noopener nofollow">[email protected]</a>" includeDetails="true">
        <users>
          <user name="BuildGuru" group="buildmaster" address="<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9bf9eef2f7fffceee9eedbf6e2f8f4f6ebfaf5e2b5f8f4f6" rel="noreferrer noopener nofollow">[email protected]</a>"/>
          <user name="JoeDeveloper" group="developers" address="<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="acc6c3c9c8c9dac9c0c3dcc9deecd8c4c3d9cbc4d8dbc3dec7df82cfc3c1" rel="noreferrer noopener nofollow">[email protected]</a>"/>
        </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>

最佳答案

“project”元素下没有可用的“schedule”元素:http://confluence.public.thoughtworks.org/display/CCNET/Project+Configuration+Block

关于cruisecontrol.net - 使用 Ant for CruiseControl.NET 配置计划 block 时检测到未使用的节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6134696/

相关文章:

cruisecontrol.net - 如何将值从 cc.net 传递给 build-script? ccnet.config->xx.build

svn - 无法在 CCNET 上找到项目的 Log Publisher

cruisecontrol.net - 显示 "Activity"时让 CruiseControl.NET 使用长时间运行任务的输出

cruisecontrol.net - 使用 CCNET 从特定位置调用 .bat 文件

c# - C# 中 XmlAttribute 开头的破折号

cruisecontrol.net - 忽略巡航控制任务中的超时错误

asp.net - 如何将内置的网站程序包MS部署到原始IIS网站

svn - 如何使用 CruiseControl.net 根据 Subversion 修订号设置内部版本号

build - 如何在多个 CruiseControl.NET 构建之间共享标签值?

.net - 如何运行 CruiseControl.NET 任务但仅在特定任务结束后?