- Retrieve the encrypted password from $JENKINS_HOME/config.xml
- Open the Jenkins Script Console
- Execute e.g.
hudson.util.Secret.decrypt 'vceV2JWuTNIVc85PceFrk9C3u9AqB2nEQNg2a2xIA78='
A short hack to recover a password from the Jenkins configuration files: