3

Team, I have just installed Jenkins on one of my machine. In between due to some other activity, I moved few min away. When I returned I observed my Jenkins page asking me Username & Password. Note - I have neither created any user & nor set any password

My question is : What should I enter in Username & Password fields for recently installed Jenkins setup?

1

1 Answer 1

4

If you see this

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

/Users/Shared/Jenkins/Home/secrets/initialAdminPassword

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

or something like this, then you need to get the initialAdminPassword and then login and then set a password. Please see the steps here to do so

Also, sudo passwd jenkins should prompt you to set a password.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.