Cover by John Ferguson Smart

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Starting Up Jenkins

There are several ways to run Jenkins on your machine. One of the easiest ways to run Jenkins for the first time is to use Java Web Start. Java Web Start is a technology that lets you start up a Java application on your local machine via a URL on a web page—it comes bundled with the Java JRE. In our case, this will start a Jenkins server running on your machine, and let you experiment with it as if it were installed locally. All you need for this to work is a recent (Java 6 or later) version of the Java Runtime Environment (JRE), which we installed in the previous section.

For convenience, there is a link to the Jenkins Java Web Start instance on the book resources page. Here you will find a large orange Launch button in the Book Resources section (see Figure 2-4). You can also find this link on the Meet Jenkins page on the Jenkins website, where, if you scroll down far enough, you should find a Test Drive section with an identical Launch button.

Running Jenkins using Java Web Start from the book’s website

Figure 2-4. Running Jenkins using Java Web Start from the book’s website

Java Web Start seems to work best on Firefox. When you click on the Launch button on either of these sites in Firefox, the browser will ask if you want to open a file called jenkins.jnlp using Java Web Start. Click on OK—this will download Jenkins and start it up on your machine (see Figure 2-5).

Figure 2-5. Java Web Start will download and run the latest ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required