Refactor spec to use let and make tests faster
If job is not started for whatever reason plugin loops forever

If jenkins returns 200 for job creation, but then it never gets created keeps returning 404
and plugin enters an infinite loop