Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2021-05-02 01:08:38 +0000
committerJonah Graham2021-05-02 01:08:38 +0000
commit022e8b9469d2a9a312454c65402c53d9bf7e0555 (patch)
treea51bb9aabf898f98586e55f703fd385342f4ac22 /releng/org.eclipse.epp.config/tools
parentbdefeaf8b8a6c4257f4801c9d5a46c785325e5dc (diff)
downloadorg.eclipse.epp.packages-022e8b9469d2a9a312454c65402c53d9bf7e0555.tar.gz
org.eclipse.epp.packages-022e8b9469d2a9a312454c65402c53d9bf7e0555.tar.xz
org.eclipse.epp.packages-022e8b9469d2a9a312454c65402c53d9bf7e0555.zip
Bug 571669: Try to curl again on 503/502 http code in macOS notarize
Diffstat (limited to 'releng/org.eclipse.epp.config/tools')
-rwxr-xr-xreleng/org.eclipse.epp.config/tools/macosx-notarization-single.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh b/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh
index 4c44a1bb..6a867ff9 100755
--- a/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh
+++ b/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh
@@ -34,7 +34,7 @@ while [ ${retryCount} -gt 0 ]; do
UUID="$(echo "${RESPONSE}" | jq -r '.uuid')"
STATUS="$(echo "${RESPONSE}" | jq -r '.notarizationStatus.status')"
- while [[ ${STATUS} == 'IN_PROGRESS' ]]; do
+ while [[ ${STATUS} == 'IN_PROGRESS' || ${STATUS_CODE} == '503' || ${STATUS_CODE} == '502' ]]; do
sleep 1m
RESPONSE_RAW=$(curl --write-out "\n%{http_code}" -s https://cbi.eclipse.org/macos/xcrun/${UUID}/status)
RESPONSE=$(head -n1 <<<"${RESPONSE_RAW}")

Back to the top