Continuous Integration (Hudson/Ant)

Installation of Hudson under linux
http://blog.csdn.net/bobui/article/details/7868002

Hudson configuration
http://fannyxjf.iteye.com/blog/714815
http://www.cnblogs.com/fromweibo/ archive/2011/11/18/2254705.html


ant+svn+tomcat realizes automatic construction
http://blog.csdn.net/nomousewch/article/details/8659648

http://www.blogjava.net/amigoxie/archive/ 2007/11/09/159413.html

Other
project integration tool hudson configuration diagram tutorial on linux (summary) [original]
Hudson is a good project integration open source software, recently our project is in use, the leader gave an empty one The machine was given to us, so under the leadership of an intern, we configured hudson in linux. I recorded the process and shared it with you here.

Ant start/stop tomcat
http://since2006.com/blog/5/ant-operation-tomcat

1 Download husond:
       http://download.hudson-labs.org/war/1.386/hudson.war

2 Upload hudson.war to the tomcat release directory /home/tomcat/tomcat6/webapps. At this time, tomcat will automatically decompress the hudon project directory.

3 Configure husond information:
  Configure the hudson environment variable in .bash_profile: export HUDSON_HOME=/home/tomcat/Hudson

4 Configure the environment variable: export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH for easy introduction later. And :
export PATH=$JAVA_HOME:$ANT_HOME:$TOMCAT_HOME:$HUDSON_HOME:$PATH
5 Download Ant, hudson needs Ant to manage the build and release, transfer it to /home/tomcat, unzip it, and add in .bash_profile: export ANT_HOME=/home /tomcat/apache-ant-1.8.1

At this time, visit http:yourhost:/8080/hudson to see the home page of hudson. Then start simple configuration:

A Open the system management interface:
write your project name and other information.
B Configure JDK, and Ant:


Then select:
fill in the project svn address and set the scan interval of hudson as shown below:

This is complete, if you need to add pmd detection or unit test coverage, please download the plug-in installation and put it in the plug-in folder That's it.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326484988&siteId=291194637