Upgrade Jenkins to latest LTS release (1.580.1) (#523) 

This PR will fix issue #523. I tried to do a lot of individual commits so it will be easier to check for the changes. @andreeamatei and @andreieftimie I would need your assistance in testing this patch and if doable also for the reviews. I tested a lot on Linux, so maybe you both could focus on OS X and Windows. Thanks!