How to Unlock Jenkins on Localhost 8080 on Mac


If you have just installed Jenkins (CI/CD) application on your Mac and when you start the application and try to access it on the localhost:8080 default port, you will see this page.

Unlock Jenkins Page
Getting Started

Unlock Jenkins
To ensure the administrator securely sets up Jenkins, 
a password has been written to the log (not sure where to find it?)
and this file on the server:

/Users/dev/.jenkins/secrets/initialAdminPassword

Please copy the password from either location and paste it below.

Administrator password

The solution is simple, all you need to do is to copy the path that is displayed on your Jenkins Page in Terminal as a cat command.

Example:
% cat /Users/dev/.jenkins/secrets/initialAdminPassword

05b3f4xxb462428897bxx93045454xxf

The text which you see on your console is the Administrator password, simply paste it on the page and you should be in!

-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author Info:

Rakesh (He/Him) is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap