From 6623ff31af471567185ac2e65e64ec0eb5118cff Mon Sep 17 00:00:00 2001 From: Martin Lippert Date: Wed, 16 Jun 2021 13:49:25 +0200 Subject: [PATCH] adding more debug output to notarization script --- .../macos-notarize.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e420/macos-notarize.sh b/eclipse-distribution/org.springframework.boot.ide.product.e420/macos-notarize.sh index eaf3bde2b..9c51a0a86 100755 --- a/eclipse-distribution/org.springframework.boot.ide.product.e420/macos-notarize.sh +++ b/eclipse-distribution/org.springframework.boot.ide.product.e420/macos-notarize.sh @@ -16,12 +16,23 @@ UUID=$(echo ${RESPONSE} | jq -r '.uuid') STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status') +echo "Status after submitting" +echo ${STATUS} + while [[ ${STATUS} == 'IN_PROGRESS' ]]; do sleep 1m RESPONSE=$(curl -s ${NOTARIZE_SERVICE_URL}/macos-notarization-service/${UUID}/status) STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status') + + echo "Waiting for status to change" + echo ${RESPONSE} + echo ${STATUS} done +echo "Status is not in progress anymore" +echo ${RESPONSE} +echo ${STATUS} + if [[ ${STATUS} != 'COMPLETE' ]]; then echo "Notarization failed: ${RESPONSE}" exit 1