This post describes you If you forgot the admin password of Jenkins how to reset the password without affecting the production environment. We have an easy way to reset that user password in config.xml file.