首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件测试 >

CruiseControl中的modificationset总是提示no modification,即使repository中的内容已经改变,奇怪?该怎么处理

2012-03-01 
CruiseControl中的modificationset总是提示no modification,即使repository中的内容已经改变,奇怪?大家好,

CruiseControl中的modificationset总是提示no modification,即使repository中的内容已经改变,奇怪?
大家好,

我的持续集成服务器运行环境是CruiseControl 2.8.3 + svn 1.6.9 + ant 1.7

config.xml 如下所示

<cruisecontrol>  
  <project name="TestCruiseControl">
  <listeners>
  <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
  </listeners>

  <bootstrappers>
  <svnbootstrapper localWorkingCopy="projects/${project.name}" />
  </bootstrappers>

  <modificationset quietperiod="0">
  <svn LocalWorkingCopy="projects/${project.name}" />
  </modificationset>

  <schedule interval="30">
  <ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml" target="all" />
  </schedule>

  <log>
  <merge dir="projects/${project.name}/target/test-results"/>,
  </log>

  <publishers>
  </publishers>
  </project>
</cruisecontrol>

当执行cruisecontrol.bat时,输出如下内容:

[cc]April-02 15:08:14 Project - Project TestCruiseControl: in build queue
[cc]April-02 15:08:14 jectController- TestCruiseControl Controller: build progress event: in build queue
[cc]April-02 15:08:14 BuildQueue - now adding to the thread queue: TestCruiseControl
[cc]April-02 15:08:14 Project - Project TestCruiseControl: bootstrapping
[cc]April-02 15:08:14 jectController- TestCruiseControl Controller: build progress event: bootstrapping
[cc]April-02 15:08:15 VNBootstrapper- U src\Main.java
[cc]April-02 15:08:15 VNBootstrapper- Updated to revision 77.
[cc]April-02 15:08:15 Project - Project TestCruiseControl: checking for modifications
[cc]April-02 15:08:15 jectController- TestCruiseControl Controller: build progress event: checking for modifications
[cc]April-02 15:08:18 Project - Project TestCruiseControl: No modifications found, build not necessary.
[cc]April-02 15:08:18 Project - Project TestCruiseControl: idle
[cc]April-02 15:08:18 jectController- TestCruiseControl Controller: build progress event: idle
[cc]April-02 15:08:18 Project - Project TestCruiseControl: next build in 30 seconds
[cc]April-02 15:08:18 Project - Project TestCruiseControl: waiting for next time to build
[cc]April-02 15:08:18 jectController- TestCruiseControl Controller: build progress event: waiting for next time to build

如上所示,SVN服务器上已经有内容更新,而且持续集成服务器上的<svnbootstrapper>已经把更新的内容取下来了,但是<modificationset> 和 <schedule> 却报出 "no modifications found and build not necessary",这是为什么呢?

请高手指点

[解决办法]
看过敏捷持续集成cruisecontrol版吗

里面可能会有点帮助

热点排行