[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