diff --git a/cheat/jenkins.md b/cheat/jenkins.md new file mode 100644 index 0000000..73a35be --- /dev/null +++ b/cheat/jenkins.md @@ -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[*]]]