Skip to content

Instantly share code, notes, and snippets.

@rafaeldalsenter
Created June 23, 2021 12:17
Show Gist options
  • Save rafaeldalsenter/7d2dd350862f75154314f63fb03e7f67 to your computer and use it in GitHub Desktop.
Save rafaeldalsenter/7d2dd350862f75154314f63fb03e7f67 to your computer and use it in GitHub Desktop.
Get Jenkins secret value
// Get the value from Secret text in "Manage credentials" page. Capture from F12 option ;)
println hudson.util.Secret.decrypt("value")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment