When you access Jenkins for the first time, you are asked to unlock it using a secret initial admin password. This password is stored inside the file initialAdminPassword, which is located inside your jenkins_home directory. The file, along with its full path, is displayed on the Jenkins page, as shown in the following screenshot:
- On Windows: You can find the file under C:\Program Files (x86)\Jenkins\secrets. If you have chosen to install Jenkins somewhere else, then look for the file under <Jenkins installation directory>\secrets.
- On Linux: You can find the file under /var/jenkins_home/secrets:
Get the ...