-
-
Save jeremyweber-np/3c3581c9698a999e15342e2e7713976c to your computer and use it in GitHub Desktop.
Revisions
-
tuxfight3r created this gist
Sep 23, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #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)