Compatible with jenkins 1.580
Merge pull request #40 from djonsson/develop

Compatible with jenkins 1.580