Share
Talk Programming , Career, Mental Health, Talk Personal Finance ❤️ Post a query and receive responses ✅
Post a query and receive responses. Ask anything, Ask Mitra ❤️
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1 ) Copy the initialAdminPassword in Specified path.
2 ) Login with following Credentials
User Name : admin
Password : <da12906084fd405090a9fabfd66342f0>
3 ) Once you login into the jenkins application you can click on admin profile and reset the password.
First, you need to find the Jenkins config.xml. The file location could be different based on the Jenkins version. Go to C:Program FilesJenkins(depends on where Jenkins is installed)and find jenkins.xml. Look for <env name=”JENKINS_HOME” value=”%ProgramData%Jenkins.jenkins”/>. Copy the value and paste it into the Windows run, you will be taken to the respective path.
Next, stop the Jenkins service in the Windows service. Afterward, look for config.xml in .jenkins folder then change <useSecurity>true</useSecurity> to <useSecurity>false</useSecurity>. Back to windows service to start the Jenkins service and access Jenkins URL. You can access Jenkins without entering the credentials.
Navigate to Manage Jenkins -> Configure Global Security and follow setup as below. After hitting Save, you will be taken to create first admin user. Fill up all details then save it. You can use the created credentials to login to Jenkins.
Hope this might help:
https://stackoverflow.com/questions/39340322/how-to-reset-the-user-password-of-jenkins-on-windows
https://mixedpad.com/how-to-reset-jenkins-password-on-windows/