Question : jenkins decrypt password script console
Answered by : alex-h-raber
for standard secrets:
println(hudson.util.Secret.decrypt("{XXX=}"))
for SecretBytes:
println(new String(com.cloudbees.plugins.credentials.SecretBytes.fromString("{....}").getPlainData(), "ASCII"))
Source : https://devops.stackexchange.com/questions/2191/how-to-decrypt-jenkins-passwords-from-credentials-xml | Last Update : Sun, 08 Mar 20
Question : decrypt jenkins credentials
Answered by : obnoxious-otter-8q9nn0hy87cd
println(hudson.util.Secret.decrypt("{XXX=}"))
Source : https://jenkins.tkxel-team.com/script | Last Update : Fri, 08 Oct 21