diff --git a/jobs/bump-jenkins-plugins.Jenkinsfile b/jobs/bump-jenkins-plugins.Jenkinsfile index 3374d93dd..fc72905a2 100644 --- a/jobs/bump-jenkins-plugins.Jenkinsfile +++ b/jobs/bump-jenkins-plugins.Jenkinsfile @@ -92,10 +92,9 @@ node { } } } - def diffOutput = shwrapCapture("git diff --exit-code") stage("Open a PR") { - if (diffOutput){ + if (shwrapCapture("git diff --exit-code")){ def message = "jenkins/plugins: update to latest versions" shwrap(""" cd fedora-coreos-pipeline