If you every need to check what are the actual password in Jenkins credentials check this small groovy script by Tim Jacomb. I helped me to confirm that credentials were corrupted during saving and restoring with Configuration as a Code plugin.
To use it (and any other groovy script). In your Jenkins:
- go to the Manage Jenkins page,
- find the Script Console link in the Tools and Actions section,
- copy and paste the script into the text field
- run it