我正在尝试配置CruiseControl。我需要将CruiseControl与SVN和Maven2集成。我在java中有4个maven项目,它们有一个主要的pom.xml文件,每个项目都有自己的pom.xml。我已经尝试了很多配置,但没有...我们现在正在使用jenkins,但对于我的cloeg工作,我必须测试CruiseControl。 谁能给我一些提示?
这是我的config.xml:
<bootstrappers>
<currentbuildstatusbootstrapper file="C:\dev\maven\work\cruisecontrol\logs\Reports\status.txt" />
</bootstrappers>
<modificationset>
<svn localWorkingCopy="C:\dev\maven\work\cruisecontrol\checkout\Reports" repositoryLocation="..." />
<maven2snapshotdependency pomfile= "C:\Program Files (x86)\cruisecontrol-2.8.4\main\target\test-classes\net\sourceforge\cruisecontrol\sourcecontrols\maven2-pom.xml" user="fabio.martins" />
</modificationset>
<schedule interval="300">
<maven2 goal ="clean compile" projectfile="C:\dev\maven\work\cruisecontrol\checkout\Reports\pom.xml" mvnhome="C:\Program Files\Apache Software Foundation\maven-2.2.1" mvnscript="C:\Program Files\Apache Software Foundation\maven-2.2.1\bin\mvn.bat" />
</schedule>
<log dir= "C:\dev\maven\work\cruisecontrol\logs\Reports" encoding="ISO-8859-1">
<merge dir= "C:\dev\maven\work\cruisecontrol\checkout\Reports" pattern = "TEST-*.xml"/>
</log>
<publishers>
<currentbuildstatuspublisher file="C:\dev\maven\work\cruisecontrol\logs\Reports\status.txt"/>
</publishers>