Skip to content

Commit 255fde9

Browse files
committed
remove git diff check
1 parent 84e2822 commit 255fde9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jobs/bootimagebump.Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ node {
9898

9999
// Commit the updated metadata.
100100
stage('Create Pull Request') {
101-
if (shwrap("git -C installer diff --exit-code") != 0){
101+
//if (shwrap("git -C installer diff --exit-code") != 0){
102102
echo "enter PR stage"
103103
def message = "${params.BOOTIMAGE_BUG_ID}: Update RHCOS-${RELEASE_BRANCH} bootimage metadata to ${params.BUILD_VERSION}"
104104
def commit_message = """\
@@ -134,7 +134,7 @@ node {
134134
curl -H "Authorization: token ${GHTOKEN}" -X POST -d '{ "title": "${message}", "head": "coreosbot-releng:${PR_BRANCH}", "base": "${RELEASE_BRANCH}" }' https://api.github.com/repos/openshift/installer/pulls --fail
135135
""")
136136
}
137-
}
137+
//}
138138
currentBuild.result = 'SUCCESS'
139139
}
140140
} catch (e) {

0 commit comments

Comments
 (0)