Hudson Deployment Process:
Java installation
Http://developer.51cto.com/art/201504/470683.htm
Tomcat installation
http://blog.csdn.net/huyisu/article/details/38372663
Registering Environment variables
Hudson Installation
http://www.ttlsa.com/tools/install-hudson-on-linux/
(1) Place the Hudson-3.3.2.war in the./tomecat/webapps directory;
(2) Add a new file to the./tomcat/conf/catalina/localhost/directory: Hudson.xml, which has the following content:
<context path= "/hudson" docbase= "/users/admin/hudson/hudson.war" debug= "0" >
</Context>
(3) Enter http://localhost:8080/hudson/directly in the browser and start the configuration tour!
MAC registers Java environment variables:
CD ~ switch to current user
Vim. Bash_profile Edit environment variable file
Export java_home=$ (/usr/libexec/java_home)
source. Bash_profile Immediate effect
echo $JAVA _home See if Registration is complete
MAC Configuration Environment variables:
http://elf8848.iteye.com/blog/1582137
To install and configure ant:
http://my.oschina.net/u/1244156/blog/214789
environment variable configuration in. bash_profile
Start slave:
Javaws HTTP://10.8.29.50:8080/COMPUTER/IMAC-D994C3/SLAVE-AGENT.JNLP
Java-jar Slave.jar -jnlpurl HTTP://10.8.29.50:8080/COMPUTER/IMAC-D994C3/SLAVE-AGENT.JNLP
Hudson Deployment Process