Improvements in Jenkins cookbook to make it work as expected on Windows and Linux