Jenkins CI Server: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
* installed on Ubuntu 11.10 (Oneiric Ocelot)
* installed on Ubuntu 11.10 (Oneiric Ocelot)


  apt-get remove apache
  apt-get remove apache bind9


== Mono ==
== Mono ==
Line 27: Line 27:


* change port to 80: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
* change port to 80: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
** better to use lighttpd because Apache needs another 200 MB of RAM.
** /etc/lighttpd/lighttpd.conf
add mod_proxy to the server.modules list, and at the bottom:
proxy.server = (
    "/" => (( "host" => "127.0.0.1", "port" => 8080)),
)
* setup security: https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup
* setup security: https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup



Revision as of 17:01, 29 October 2011

Ubuntu

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

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

NAnt

  • apt-get install nant
  • then download latest NAnt, NAnt 0.91 Release
  • unpack tar.gz file to /usr/local/nant-0.91
  • modify /usr/bin/nant and point at /usr/local/nant-0.91/bin/NAnt.exe

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
add mod_proxy to the server.modules list, and at the bottom:
proxy.server = (
   "/" => (( "host" => "127.0.0.1", "port" => 8080)),
)
  • installed plugins:
    • Bazaar Plugin [1]
    • DocLinks Plugin [2]
    • Email-ext Plugin [3]
    • Log Parser Plugin [4]
    • NAnt Plugin [5]