OS X 10.11 El Capitan and Jenkins CI install / by Brian Lambert

I'm setting up BVT / CI for an Objective-C project for iOS and I picked Jenkins CI as my build automation server.

The good news is that Jenkins CI looks amazing.

The bad news is that the Mac OS X native package didn't work well on OS X El Capitan 10.11.3.

Here's what happened.

I installed the Mac OS X native package. When I did, it completed and launched http://localhost:8080/ in my default browser. Instead of seeing Jenkins, though, I saw:

The first thing I tried was to uninstall:

/Library/Application\ Support/Jenkins/Uninstall.command

And re-install, but this didn't work. After some poking around, I found that my clean OS X 10.11 El Capitan doesn't come with Java and that the Jenkins installer simply doesn't check for this vital prerequisite.

So, install the JDK from Oracle (this link worked for me: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)

And you'll be all set.

Next, follow the instructions here: http://www.cimgf.com/2015/05/26/setting-up-jenkins-ci-on-a-mac-2/