Hudson/Jenkins Installation on Redhat4

Hudson/Jenkins Installation on Redhat4

1.check the system version first
>cat /proc/version
Linux version 2.6.18-128.el5 ([email protected])
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-44))
#1 SMP Wed Dec 17 11:41:38 EST 2008

2. download the software
>wget http://pkg.jenkins-ci.org/redhat/RPMS/noarch/jenkins-1.443-1.1.noarch.rpm

Install this on linux
>sudo rpm -ivh jenkins-1.443-1.1.noarch.rpm

The commands of the software
>sudo /etc/init.d/jenkins status
>sudo /etc/init.d/jenkins start

The log file will be /var/log/jenkins/jenkins.log.

The configuration file will be /etc/sysconfig/jenkins, we can change the port and other things.

Visit the page:
http://localhost:8080/


3. Configure the project with maven and ant
The time schedule will be */30 * * * *


references:
http://java.net/projects/hudson/downloads/directory/Redhat
http://hudson-ci.group.iteye.com/group/wiki/2942-linux-husdon-rpm-install-start
http://hotdog.iteye.com/blog/837940
http://laoding.me/2010/09/install-hudson-on-redhat.html
http://hi.baidu.com/luohuazju/blog/item/4e87f3d99951a73911df9b8b.html
http://hi.baidu.com/luohuazju/blog/item/c3127af88bc7a11ad9f9fd9c.html
http://hi.baidu.com/luohuazju/blog/item/f7880d823c2c3caa6c811985.html
http://hi.baidu.com/luohuazju/blog/item/45bfa801ee0e5b087bec2ceb.html
https://hudson.dev.java.net/
http://jenkins-ci.org/
https://wiki.jenkins-ci.org/display/JENKINS/Use+Jenkins
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions


猜你喜欢

转载自sillycat.iteye.com/blog/1308891