jenkins the definitive guide

(Jeff_L) #1

Figure 3.1. You can download the Jenkins binaries from the Jenkins website


Once you have run the installer, Jenkins will automatically start on port 8080 (see Figure 3.3, “The
Jenkins start page”). The installer will have created a new Jenkins service for you, that you can start
and stop just like any other Windows service.


There are also excellent native packages for Mac OS X and most of the major Linux distributions,
including Ubuntu, RedHat (including CentOS and Fedora) and OpenSolaris. We discuss how to install
Jenkins on Ubuntu and Redhat below.


If you are not installing Jenkins using one of the native packages, you can simply download the latest
binary distribution from the Jenkins website. Once you have downloaded the latest and greatest Jenkins
release, place it in an appropriate directory on your build server. On a Windows environment, you might
put it in a directory called C:\Tools\Jenkins (it’s a good idea not to place Jenkins in a directory
containing spaces in the path, such as C:\Program Files, as this can cause problems for Jenkins in
some circumstances). On a Linux or Unix box, it might go in /usr/local/jenkins, /opt/jenkins,
or in some other directory, depending on your local conventions and on the whim of your system
administrator.

Free download pdf