Install Jenkins on Mac OS X

In this tutorial, we will see how to install Jenkins on Mac OS X.

Step 1:Open browser and enter URL https://jenkins.io/download

Jenkins installation on Mac OS X

Step 2:Scroll down the page until you see the Mac OS X section then click on it. This will start the download for a Mac installation package. Once the download is complete, click on the package to start the installation

Jenkins introduction

Step 3:Accept the defaults from the installation wizard and click on continue

agrement

Step 4: when you’re prompted to accept a software license agreement click agree

install for all users

Step 5:You may be prompted to install for all users of this computer, click on continue

install

Step 6:Click on install.You may be prompted for your login password. If so, enter your credentials and click install software

installation successful

Step 7:Once the installation is done, click on close.

Step 8:Browser will open with localhost:8080 and you will see unlock Jenkins screen.You need to copy password from "/Users/Shared/Jenkins/Home/Secrets/initalAdminPassword".

Unlock jenkins

If you do not see the above screen, you need to follow some extra steps.

go to terminal and execute below commands.

It seems you need to provide permissions to Jenkins folder.

1. Add execute permissions to org.jenkins-ci.plist:

2. Set jenkins as the owner of /var/log/jenkins:

3. Start Jenkins:

If you are still facing the issue, follow below steps as well.

and add the appropriate JAVA_HOME environment variable:
then execute the command again.

Source for above solution: https://stackoverflow.com/questions/39794811/jenkins-does-not-start-on-macos-10-12-sierra

Step 9:Click on "install suggested plugins"

Create first admin user

Step 10:Create first admin user as above and click on "save and continue". Please note that you do not need to provide correct email id but it should be in correct email format.

Configuration

Step 11:Click on save and continue and we are done with Jenkins installations on Mac OS X.

If the installation is successful, you should be able to see below screen.

Sucessful installation

That’s all about installing Jenkins on Mac OS X.

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *