Skip to content

Commit

Permalink
Revert "Promote: Retry to parse json"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximinhan authored May 9, 2024
1 parent 23f285e commit f9faae3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions jobs/build/promote-assembly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,7 @@ 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 (exception) {
// retry since this is often flaky
try {
release_info = readJSON(text: out)
} catch (exception) {
slacklib.to(params.VERSION).say("@release-artists Promote failed since it couldn't parse pyartcd json. Please investigate/retry")
throw exception
}
}
release_info = readJSON(text: out)
}
}
}
Expand Down

0 comments on commit f9faae3

Please sign in to comment.