[edit] 1 Installation
[edit] 1.1 Cruise Control
download, expand, build.
In the rbd1 lasmap user it has been expanded into the directory
/app/weblogic/lasmap/continuous_builds/
[edit] 1.2 Config
You need two config files
config.xml - Controls the controlling continuous loop
cc-build.xml - Controls what happens when a change is detected, i.e. Runs the build
email.properties - converts cvs usernames into email addresses
For LA2 these files are all in CVS in SDA/Server/LA2/CruiseControl.
You can edit them there and they should get picked up by the next build cycle.
In addition the nightly build contains a personal.properties file in the cruisecontrol directory. This is a symbolic link onto the copy in the nightly build environment.
[edit] 1.3 Automatic Emails
Cruise Control sends automated email to people who seem to have broken the build. The username -> email mapping comes from the email.properties file.
This is in cvs in SDA/Server/LA2/CruiseControl/email.properties
[edit] 1.4 Web Application
The lasmap the cruisecontrol.war runs in the admin server from the war in /app/weblogic/lasmap/continuous_builds/cruisecontrol-2.4.1/reporting/jsp/dist (this is configured in weblogic config.xml)
The war config comes from override.properties in the directory /app/weblogic/lasmap/continuous_builds/cruisecontrol-2.4.1/reporting/jsp/
This file defines where cruise control runs:
user.log.dir=/app/weblogic/lasmap/continuous_builds/LA2_Server_All/CruiseControl/logs
user.build.status.file=currentbuildstatus.txt
cruise.build.artifacts.dir=/app/weblogic/lasmap/continuous_builds/LA2_Server_All/CruiseControl/logs
[edit] 2 Execution
The nightly build run the run.sh script (in LA2/CruiseControl/). This script us started by the nightly build script (at the end of the test block). It checks for and kills previous copies and then starts a fresh copy for the day.
You can see that status from the CruiseControl tab at: http://rbd1.unix.nbnz.co.nz:8011/
[edit] 2.1 Resources
http://cruisecontrol.sourceforge.net/main/configxml.html
Retrieved from "http://bobo.dist.nbnz.co.nz/wiki/index.php/Cruise_Control"
Cruise Control
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Linux基本操作命令
wbzjacky
2019-02-24 13:12:38
真實的模擬***綜合實驗
wbzjacky
2019-02-24 13:12:37
三層交換機的HSRP、vlan、端口聚合
wbzjacky
2019-02-24 13:12:37
HSRP和二層交換機的端口聚合、vlan
wbzjacky
2019-02-24 13:12:37
如果同事暗中傷害你,應該怎麼辦?
這個饅頭有餡
2019-02-24 13:59:08
職場中,抱怨越多的員工,越被領導瞧不起!
這個饅頭有餡
2019-02-24 13:59:08
老程序員被裁,應屆生卻能月薪 1.3 萬?這你能忍?
前端高達
2019-02-24 13:48:04
遇到到處蹭吃卻從不請客吃飯的主怎麼辦?
樑軍年
2019-02-24 13:26:35
高標準機房綜合配線安裝
wbzjacky
2019-02-24 13:12:38
IPsec ***實驗
wbzjacky
2019-02-24 13:12:37
CISCO路由AAA的Easy ***
wbzjacky
2019-02-24 13:12:37
CISCO訪問控制列表 企業網絡管理的必殺技
wbzjacky
2019-02-24 13:12:37