Refactor jenkins_job with idempotency