I'v been using some custom steps a lot lately and I though it was time to share them :)
https://github.com/roel0/jenkins-util-scripts
Some of the API's provided: