Originally based on pyjenkinsci... release tree: https://github.com/salimfadhley/jenkinsapi