some refactoring of builds
Merge branch 'master' of https://github.com/salimfadhley/jenkinsapi