CuriseControl 的配置文件
附配置文件如下:
<cruisecontrol>
<system>
<configuration>
<threads count="2" />
</configuration>
</system>
<project name="KSystemSmokeTest">
<property name="project.home" value="D:\work\Projects"/>
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
</listeners>
<bootstrappers>
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="build.xml" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcat.properties" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcatTasks.properties" overwritechanges="true" />
</bootstrappers>
<modificationset quietperiod="20" >
<cvs localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" module="KSystem"/>
</modificationset>
<schedule interval="300" >
<ant anthome="D:\work\tools\ant" buildfile="${project.home}/${project.name}/build.xml" target="smoketest">
<property name="reports.dir" value="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\" />
</ant>
</schedule>
<log dir="logs/${project.name}">
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\junit\xml\TESTS-TestSuites.xml"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\coverage\xml\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\jcsc\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\checkstyle\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\pmd\"/>
</log>
<publishers>
<email
mailhost="smtp.263xmail.com"
username="xxxx"
password="xxxx"
skipusers="true"
reportsuccess="always"
returnaddress="ksys@cskchina.com"
returnname="Intergration Server"
defaultsuffix=""
subjectprefix="[K-System]"
buildresultsurl="http://192.168.128.200:8090/buildresults/${project.name}">
<!-- create relation between alias and address -->
<map alias='xx' address="xxx@cskchina.com" />
<always address="xxx@cskchina.com" />
</email>
</publishers>
</project>
<project name="KSystemSystemTest">
<property name="project.home" value="D:\work\Projects"/>
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
</listeners>
<bootstrappers>
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="build.xml" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcat.properties" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcatTasks.properties" overwritechanges="true" />
</bootstrappers>
<modificationset quietperiod="20" >
<cvs localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" module="KSystem"/>
</modificationset>
<schedule interval="300" >
<ant anthome="D:\work\tools\ant" buildfile="${project.home}/${project.name}/build.xml" target="systemtest">
<property name="reports.dir" value="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\" />
</ant>
</schedule>
<log dir="logs/${project.name}">
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\junit\xml\TESTS-TestSuites.xml"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\coverage\xml\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\jcsc\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\checkstyle\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\pmd\"/>
</log>
<publishers>
<email
mailhost="smtp.263xmail.com"
username="xxxx"
password="xxxx"
skipusers="true"
reportsuccess="always"
returnaddress="ksys@cskchina.com"
returnname="Intergration Server"
defaultsuffix=""
subjectprefix="[K-System]"
buildresultsurl="http://192.168.128.200:8090/buildresults/${project.name}">
<!-- create relation between alias and address -->
<map alias='xxx' address="xxx@cskchina.com" />
<always address="xxx@cskchina.com" />
</email>
</publishers>
</project>
</cruisecontrol>
<system>
<configuration>
<threads count="2" />
</configuration>
</system>
<project name="KSystemSmokeTest">
<property name="project.home" value="D:\work\Projects"/>
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
</listeners>
<bootstrappers>
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="build.xml" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcat.properties" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcatTasks.properties" overwritechanges="true" />
</bootstrappers>
<modificationset quietperiod="20" >
<cvs localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" module="KSystem"/>
</modificationset>
<schedule interval="300" >
<ant anthome="D:\work\tools\ant" buildfile="${project.home}/${project.name}/build.xml" target="smoketest">
<property name="reports.dir" value="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\" />
</ant>
</schedule>
<log dir="logs/${project.name}">
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\junit\xml\TESTS-TestSuites.xml"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\coverage\xml\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\jcsc\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\checkstyle\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\pmd\"/>
</log>
<publishers>
mailhost="smtp.263xmail.com"
username="xxxx"
password="xxxx"
skipusers="true"
reportsuccess="always"
returnaddress="ksys@cskchina.com"
returnname="Intergration Server"
defaultsuffix=""
subjectprefix="[K-System]"
buildresultsurl="http://192.168.128.200:8090/buildresults/${project.name}">
<!-- create relation between alias and address -->
<map alias='xx' address="xxx@cskchina.com" />
<always address="xxx@cskchina.com" />
</email>
</publishers>
</project>
<project name="KSystemSystemTest">
<property name="project.home" value="D:\work\Projects"/>
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
</listeners>
<bootstrappers>
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="build.xml" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcat.properties" overwritechanges="true" />
<cvsbootstrapper localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" file="tomcatTasks.properties" overwritechanges="true" />
</bootstrappers>
<modificationset quietperiod="20" >
<cvs localworkingcopy="${project.home}/${project.name}" cvsroot=":pserver:ci:ci@192.168.126.10:/KSystem" module="KSystem"/>
</modificationset>
<schedule interval="300" >
<ant anthome="D:\work\tools\ant" buildfile="${project.home}/${project.name}/build.xml" target="systemtest">
<property name="reports.dir" value="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\" />
</ant>
</schedule>
<log dir="logs/${project.name}">
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\junit\xml\TESTS-TestSuites.xml"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\coverage\xml\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\jcsc\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\checkstyle\"/>
<merge dir="D:\work\tools\cruisecontrol\webapps\cruisecontrol\logs\${project.name}\pmd\"/>
</log>
<publishers>
mailhost="smtp.263xmail.com"
username="xxxx"
password="xxxx"
skipusers="true"
reportsuccess="always"
returnaddress="ksys@cskchina.com"
returnname="Intergration Server"
defaultsuffix=""
subjectprefix="[K-System]"
buildresultsurl="http://192.168.128.200:8090/buildresults/${project.name}">
<!-- create relation between alias and address -->
<map alias='xxx' address="xxx@cskchina.com" />
<always address="xxx@cskchina.com" />
</email>
</publishers>
</project>
</cruisecontrol>