add groovy formating
This commit is contained in:
parent
e4bbc0985f
commit
3371a8e808
@ -2,7 +2,9 @@
|
||||
|
||||
Execute in https://*INSTANCE*/script to reveal passwords from a password hash (obtained via Inspect Element on a Credential)
|
||||
|
||||
`hudson.util.Secret.decrypt('secret_hash')`
|
||||
```groovy
|
||||
hudson.util.Secret.decrypt('secret_hash')
|
||||
```
|
||||
|
||||
### Jenkins current jobs
|
||||
|
||||
@ -11,7 +13,7 @@ https://*INSTANCE*/computer/api/json?tree=computer[executors[currentExecutable[*
|
||||
### Reveal all secrets
|
||||
|
||||
Execute in https://*INSTANCE*/script to reveal all secrets
|
||||
```
|
||||
```groovy
|
||||
import com.cloudbees.plugins.credentials.CredentialsProvider
|
||||
import com.cloudbees.plugins.credentials.Credentials
|
||||
import com.cloudbees.plugins.credentials.domains.Domain
|
||||
|
Loading…
Reference in New Issue
Block a user