Jenkins CI Server: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== CentOS 5 ==
== Ubuntu ==
* installed on CentOS 5.7
* installed on Ubuntu 11.10 (Oneiric Ocelot)


  yum remove httpd
  apt-get remove apache


== Mono ==
== Mono ==
Install Mono: see http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum
* using Mono 2.10 for best support for c# 4.0 etc
cd /etc/yum.repos.d
apt-get install mono-runtime mono-xbuild mono-gmcs
vi mono.repo


<pre>
[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
</pre>
yum install monotools-addon-server mono-addon-winforms mono-addon-data-postgresql
source /opt/novell/mono/bin/mono-addon-environment.sh
== other development tools ==
== other development tools ==
  su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
  apt-get install bzr
yum install bzr


== Jenkins ==
== Jenkins ==
* http://pkg.jenkins-ci.org/redhat-stable/
* http://pkg.jenkins-ci.org/debian-stable/
 
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
  wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add -
vi /etc/apt/sources.list:
  deb http://pkg.jenkins-ci.org/debian-stable binary/


Debugging:
  apt-get update
  set JAVA_OPTS=-Xms256m -Xmx512m
  apt-get install jenkins
  /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

Revision as of 08:53, 29 October 2011

Ubuntu

  • installed on Ubuntu 11.10 (Oneiric Ocelot)
apt-get remove apache

Mono

  • using Mono 2.10 for best support for c# 4.0 etc
apt-get install mono-runtime mono-xbuild mono-gmcs

other development tools

apt-get install bzr

Jenkins

wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add -
vi /etc/apt/sources.list:
  deb http://pkg.jenkins-ci.org/debian-stable binary/
apt-get update
apt-get install jenkins