jenkins command to decrypt password code example
Example: jenkins decrypt password script console
for standard secrets:
println(hudson.util.Secret.decrypt("{XXX=}"))
for SecretBytes:
println(new String(com.cloudbees.plugins.credentials.SecretBytes.fromString("{....}").getPlainData(), "ASCII"))