Hudson on Ubuntu System(II)Basic usage

Hudson on Ubuntu System(II)Basic usage

3. global configuration
JDK name: SUN_JDK
JAVA_HOME:
discheck the checkbox [Install automatically]

>echo $JAVA_HOME
/usr/lib/jvm/java-6-openjdk/

My installation directory of ANT is /usr/share/ant, so.
ANT name: APACHE_ANT
ANT_HOME: /usr/share/ant

My installation directory of MAVEN2 is /usr/share/maven2, so
MAVEN2 name: MAVEN2
MAVEN_HOME: /usr/share/maven2
Global MAVEN_OPTS : -Xmx1024m -Xms512m

[Discard Old Builds]------> [Max # of builds to keep]: 5

4. Manage project with MAVEN2
click [New Job]
Job Name : cat
select [Build a maven2/3 project] ----------> click [Ok]

[Source Code Management] ------> [Subversion]
[Respository URL] : https://sillycat.googlecode.com/svn/trunk/cat
[Build] ---------> [Goals and options] : clean install
[Advanced Project Options] -----> [Quiet period] ----->[Quiet period] 3600 Number of seconds
[Poll SCM] --------> [Schedule] : */30 * * * * we will poll out the source codes every 30 minutes
MINUTE Minutes within the hour (0-59)
HOUR The hour of the day (0-23)
DOM The day of the month (1-31)
MONTH The month (1-12)
DOW The day of the week (0-7) where 0 and 7 are Sunday

We can click [Build Now] to see the build function of this project. cat.

5. Manage project with ANT
click [New Job] -----> [Build a free-style software project] ------> [OK]

Repository URL:
https://sillycat.googlecode.com/svn/trunck/easygroovyplugin/

[Poll SCM] --------> [Schedule] : */35 * * * *

[Build] -------> [invoke Ant]
Ant Version: APACHE_ANT
Targets: Can be NA, if you want to invoke the default methods

references:
http://duyangsss.iteye.com/blog/805540
http://hi.baidu.com/luohuazju/blog/item/45bfa801ee0e5b087bec2ceb.html
http://hi.baidu.com/luohuazju/blog/item/2974de4ac894c12d09f7eff2.html
http://fannyxjf.iteye.com/blog/714815
http://cxr1217.iteye.com/blog/730085
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值