????????????????????????
???????????? ???????[ 2013/5/29 10:22:15 ] ????????
?????????????????????μ???????????????????? CruiseControl ??漰???????????
[root@fcvm ~]# useradd cruise
[root@fcvm ~]# su - cruise
[cruise@fcvm ~]$ pwd
/home/cruise
[cruise@fcvm ~]$
???????????????Щ??????? Maven ????????????????????????????????????????????????????? ?ο??????????JAVA_HOME ???????? /usr/lib/jvm/java????????????? Maven ?? CruiseControl ????????????????? pkg ?????С??? Maven ?? Web ?????????????????????????????????????????????????
[cruise@fcvm ~]$ mkdir pkg
[cruise@fcvm ~]$ cd pkg
[cruise@fcvm pkg]$ [install Maven]
??? CruiseControl
??????????????? CruiseControl??????? ?ο????????????????? pkg ???У?
[cruise@fcvm pkg]$ wget -q http://heanet.dl.sourceforge.net/
sourceforge/cruisecontrol/cruisecontrol-2.2.1.zip
[cruise@fcvm pkg]$ unzip cruisecontrol-2.2.1.zip
Archive: cruisecontrol-2.2.1.zip
creating: cruisecontrol-2.2.1/
creating: cruisecontrol-2.2.1/contrib/
[...]
inflating: cruisecontrol-2.2.1/reporting/jsp/webcontent/xsl/testdeta
ils.xsl
inflating: cruisecontrol-2.2.1/reporting/jsp/webcontent/xsl/unittest
s.xsl
[cruise@fcvm pkg]$ rm cruisecontrol-2.2.1.zip
[cruise@fcvm pkg]$
????????? CruiseControl????????а??а??????????????? JAR ?????
??????????????????????????????????? XStream ???????????????????????? ?ο??????????? ???????????????????????????????????????????CruiseControl ?????????????н??? config.xml ??????ж????????????????????????????У???????? /home/cruise???嵥 1 ???????????? config.xml ????????????????????????????????????嵥 1 ?е?????????????????????????
?嵥 1. ???? XStream ????? CruiseControl config.xml ???
<?xml version="1.0"?>
<cruisecontrol>
<project name="xstream" buildafterfailed="false">
<listeners>
<currentbuildstatuslistener
file="log/build/xstream/status.txt"/>
</listeners>
<modificationset>
<filesystem folder="/home/cruise/force-build/xstream"/>
<svn LocalWorkingCopy="src/xstream"/>
</modificationset>
<schedule interval="3600">
<ant antscript="/usr/bin/ant"
uselogger="true"
antworkingdir="src/xstream"
multiple="1"
target="library"/>
<ant antscript="/usr/bin/ant"
uselogger="true"
antworkingdir="src/xstream"
multiple="5"
target="clean library"/>
</schedule>
<log dir="log/build/xstream"/>
<dateformat format="dd/MM/yyyy HH:mm:ss"/>
</project>
</cruisecontrol>
????????? CruiseControl ????????????????????????????????????
??ι?????????? <schedule> ??????????
? 3??600 ?????С????????????Ρ?
?? Ant ???й????????
????е??? 5 ?ι????????????????????????????湹???е?????????????????
??μ??????? ??? ??????????? <modificationset> ??????????
?? Subversion??svn???????????????????????????????????????б仯???????????????
????????????н??? xstream ?????????????????????????б仯????????????????????????????????????????o??棬??????????????????????????????
?????????????????? <listeners> ?? <log> ??????????
????????????????? log/build/xstream ???м?????????????С?
?????????????д????????е?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11