I have a piece of groovy code in Jenkins that looks up for new software versions. If a new version is found, it downloads it; if there is no new versions available, the job