I installed jenkins on my window 10 machine by using the msi I downloaded. It installed fine and has now launched the browser prompting me to unlock jenkins with the initialadminpassword. I can't find this file anywhere. I looked in the install directory C:\Program Files (x86)\Jenkins and I have checked the log files and no password was written to it. I even did a search on my whole C: for initialadminpassword and nothing came up. I do have a file called secret.key in my Jenkins install directory but the key in this file isn't working. Any ideas on how I can get around this would be very helpful
Thanks
Unlocking Jenkins From the Jenkins console log output, copy the automatically-generated alphanumeric password (or) open the file located in /var/Jenkins_home/secrets/initialAdminPassword . On the Unlock Jenkins page, paste this password into the Administrator password field and click Continue.
You can now install Jenkins on Windows and start creating your continuous integration pipeline. You are well on your way to becoming an automation and CI/CD expert. Jenkins enables you to incorporate your development processes in a CI/CD pipeline.
In the Jenkins Home directory there should be a secrets
subfolder. In that directory there should be a file called initialAdminPassword
(no extension).
This file contains the password it is referring to.
I found the long password in this path C:\Program Files\Jenkins\jinkins.err, in the jinkins.err file all the logs are recorded, so if you screw down slowly you can find the password being generated by the system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With