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",这是为什么呢?

请高手指点
...全文
237 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yangjianli868 2012-08-28
  • 打赏
  • 举报
回复
把这<modificationset quietperiod="0"> 里面的quietperiod="0" 改成quietperiod="60"或者非0就行啦 。
yuan_2004 2012-07-10
  • 打赏
  • 举报
回复
我也遇到同样的问题,求解。
内容概要:本文围绕“基于共享储能服务的智能楼宇双层优化配置”展开研究,提出了一种结合上层共享储能配置优化与下层楼宇内部能源调度优化的双层协同模型,通过Matlab代码实现,旨在提升智能楼宇在复杂能源环境下的运行效率与经济性。研究充分考虑光伏出力、负荷需求等不确定性因素,引入多维核密度估计、场景生成与削减等技术进行不确定性建模,并融合需求响应、微电网调度等先进理念,实现了对综合能源系统储能资源的高效配置与动态调控,具有较强的理论深度与工程应用价值。; 适合人群:具备电力系统、可再生能源、优化算法或综合能源系统等相关背景,从事科研、工程应用或课题研究的研发人员、研究生及高年级本科生。; 使用场景及目标:①应用于智能楼宇、园区微电网、虚拟电厂等场景的储能规划与运行优化;②支撑高水平学术论文(如EI/SCI)的复现、课题申报、毕业设计及实际项目的双层优化建模与求解实践。; 阅读建议:建议结合提供的Matlab代码进行实操演练,重点理解双层优化架构的设计逻辑、求解策略(如Benders分解、主从博弈等)及不确定性处理方法,同时可参考文关联技术(如场景生成、需求响应)拓展研究思路与应用场景。

51,408

社区成员

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

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