Skip to content

Instantly share code, notes, and snippets.

@hoto
Created January 10, 2019 16:55
Show Gist options
  • Select an option

  • Save hoto/d1c874480888f8711f12db33a20b6e4d to your computer and use it in GitHub Desktop.

Select an option

Save hoto/d1c874480888f8711f12db33a20b6e4d to your computer and use it in GitHub Desktop.

Revisions

  1. hoto created this gist Jan 10, 2019.
    5 changes: 5 additions & 0 deletions decrypt-jenkins-credentials.groovy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // https://myjenkins.com/script

    hashed_pw='{AQAAABAAAAAQB68ttY8Fp7wpTtF/d8VPl8ZU5PZEIJbofSrTgZXxbdY=}'
    passwd = hudson.util.Secret.decrypt(hashed_pw)
    println(passwd)