| | 5 | |
| | 6 | == Install == |
| | 7 | 1. download from |
| | 8 | http://hudson-ci.org/ |
| | 9 | vi /etc/profile |
| | 10 | export HUDSON_HOME=/data/dev/hudson |
| | 11 | export .... |
| | 12 | |
| | 13 | 2. run |
| | 14 | java -jar hudson-2.2.0.war > i.log 2>&1 & |
| | 15 | |
| | 16 | 3. 插件管理 |
| | 17 | 安装sonar 插件 |
| | 18 | |
| | 19 | 4. setting http://ieqq.iteye.com/blog/1356028 |
| | 20 | 系统管理->系统设置 |
| | 21 | 配置sonar相关,邮件相关 |
| | 22 | |
| | 23 | 5. 安全设置 http://hudson-ci.group.iteye.com/group/wiki/1682-hudson-standard-security-settings |
| | 24 | |
| | 25 | Manage Hudson-->Configure System |
| | 26 | Enable security |
| | 27 | 增加用户admin,并勾选权限矩阵 |
| | 28 | 保存后回到注册页面,输入用户名admin和密码,确认后即可 |
| | 29 | |
| | 30 | 直接修改HUDSON_HOME/config.xml <useSecurity>true</useSecurity>也可以 |
| | 31 | |