Jenkins CI Server

From OpenPetra Wiki
Revision as of 19:18, 26 October 2011 by Pokorra (talk | contribs) (Created page with '== CentOS 5 == * installed on CentOS 5.7 yum remove httpd == Mono == Install Mono: see http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum cd /etc/…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CentOS 5

  • installed on CentOS 5.7
yum remove httpd

Mono

Install Mono: see http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum

cd /etc/yum.repos.d
vi mono.repo
[Mono]
name=Mono Stack (RHEL_5)
type=rpm-md
baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/
gpgcheck=1
gpgkey=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key
enabled=1
yum install monotools-addon-server mono-addon-winforms mono-addon-data-postgresql
source /opt/novell/mono/bin/mono-addon-environment.sh

other development tools

su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
yum install bzr

Jenkins

wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
yum install -y java
yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps

Debugging:

set JAVA_OPTS=-Xms256m -Xmx512m
/usr/lib/jvm/java-1.6.0/bin/java -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --daemon --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20