CruiseControl中的modificationset总是提示no modification,即使repository中的内容已经改变,为什么?

shi_hang_nk 2010-04-02 03:48:49
大家好,

我的持续集成服务器运行环境是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",这是为什么呢?

请高手指点
...全文
185 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yangjianli868 2012-08-28
  • 打赏
  • 举报
回复
把这<modificationset quietperiod="0"> 里面的quietperiod="0" 改成quietperiod="60"或者非0就行啦 。
yuan_2004 2012-07-10
  • 打赏
  • 举报
回复
我也遇到同样的问题,求解。

51,397

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧