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
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