-
-
Save thikade/fc3c2b7b2d236f7fe90f264fffa5364e to your computer and use it in GitHub Desktop.
Decrypting Jenkins Password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To Decrypt Jenkins Password from credentials.xml | |
#<username>jenkins</username> | |
#<passphrase>your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J</passphrase> | |
#go to the jenkins url | |
http://jenkins-host/script | |
#In the console paste the script | |
hashed_pw='your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J' | |
passwd = hudson.util.Secret.decrypt(hashed_pw) | |
println(passwd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also: https://devops.stackexchange.com/questions/2191/how-to-decrypt-jenkins-passwords-from-credentials-xml