Background Image
Table of Contents Table of Contents
Previous Page  394 / 478 Next Page
Information
Show Menu
Previous Page 394 / 478 Next Page
Page Background

# instructions taken from jenkins site

user@server:

$

wget -q -O -

http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key

|\

sudo apt-key add -

user@server:

$

echo deb

http://pkg.jenkins-ci.org/debian

binary/ | sudo tee \

/etc/apt/sources.list.d/jenkins.list

user@server

:$

sudo apt-get update

user@server

:$

sudo apt-get install jenkins

While we’re at we’ll install a few other dependencies:

user@server

:$

sudo apt-get install git firefox python3 python-virtualenv xvfb

At the time of writing, the shiningpanda plugin was

incompatible

with Python 3.4. It works fine with Python 3.3, so I recommend using

a slightly older distro, so that the default Python 3 is slightly older.

Ubuntu Saucy (13.10) is OK, for example, but Trusty isn’t.

You should then be able to visit it at the URL for your server on port

8080

, as in

Figure 20-1 .

Figure 20-1. A butler! How quaint…

366

|

Chapter 20: Continuous Integration (CI)