jenkins cheatsheet

This commit is contained in:
Morgan 2019-08-09 04:56:44 +02:00 committed by GitHub
parent 568a083308
commit fa106e698d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
cheat/jenkins.md Normal file
View File

@ -0,0 +1,9 @@
### Reveal passwords
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')`
### Jenkins current jobs
https://*INSTANCE*/computer/api/json?tree=computer[executors[currentExecutable[*]]]