Skip to content

Commit

Permalink
diff output
Browse files Browse the repository at this point in the history
  • Loading branch information
aaradhak committed Mar 14, 2024
1 parent 887731b commit 4213016
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jobs/bump-jenkins-plugins.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ node {
}
}
}

def diffOutput = shwrapCapture("git diff --exit-code")

stage("Open a PR") {
if (haveChanges){
if (diffOutput){
def message = "jenkins/plugins: update to latest versions"
shwrap("""
cd fedora-coreos-pipeline
Expand Down

0 comments on commit 4213016

Please sign in to comment.