Skip to content

Commit

Permalink
Merge pull request #4241 from Ximinhan/fix-promoteoutput
Browse files Browse the repository at this point in the history
remote output reading logic
  • Loading branch information
openshift-merge-bot[bot] authored Aug 30, 2024
2 parents 6640ecf + e47a5e2 commit 0a8ec87
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions jobs/build/promote-assembly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,6 @@ node {
withEnv(["BUILD_URL=${BUILD_URL}"]) {
def out = sh(script: cmd.join(' '), returnStdout: true).trim()
echo "artcd returns:\n$out"
try {
release_info = readJSON(text: out)
} catch (ex1) {
// retry since this is often flaky
try {
release_info = readJSON(text: out)
} catch (ex2) {
slacklib.to(params.VERSION).say("@release-artists Promote failed since it couldn't parse pyartcd json. Please investigate/retry")
throw ex2
}
}
}
}
}
Expand Down

0 comments on commit 0a8ec87

Please sign in to comment.