Forgot login password in Jenkins, no login required
If you have forgotten your Jenkins login password, modify the config.xml in your Jenkins home (e.g. D:\Jenkins).
Modify as above and restart the Jenkins service.
The login screen will no longer appear.
If you want to display the login screen again, go to “Jenkins” – “Jenkins Administration” – “Global Security Settings” and configure as follows
Since “Allow users to sign up” is checked, the login screen will look like this
The message “If you are not a member, please sign up for an account” will appear, allowing anyone to sign up for an account and log in.
With this setting, anyone can log in, so uncheck “Allow users to sign up” as shown below.
This will hide “If you are not a member, please register an account.