diff options
author | Sravan Kumar Lakkimsetti | 2021-02-14 03:22:40 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2021-02-14 03:22:40 +0000 |
commit | 74e3b4a2ee03a9a5baf70887fe2af6130f4d6417 (patch) | |
tree | 20c5cc11e31b485e15a64ec02aaf1f03c3ad35e5 /cje-production | |
parent | c927401ae5330143d1ae81b348f995475cf1c3da (diff) | |
download | eclipse.platform.releng.aggregator-74e3b4a2ee03a9a5baf70887fe2af6130f4d6417.tar.gz eclipse.platform.releng.aggregator-74e3b4a2ee03a9a5baf70887fe2af6130f4d6417.tar.xz eclipse.platform.releng.aggregator-74e3b4a2ee03a9a5baf70887fe2af6130f4d6417.zip |
Bug 553415 - Adopt Notarization service changes in the platform buildI20210214-0600
Change-Id: I1cafd1841efef385277026b20bb4f2ff08837547
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'cje-production')
-rwxr-xr-x | cje-production/scripts/common-functions.shsource | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cje-production/scripts/common-functions.shsource b/cje-production/scripts/common-functions.shsource index c3ba6f8da..bb6d6a5ce 100755 --- a/cje-production/scripts/common-functions.shsource +++ b/cje-production/scripts/common-functions.shsource @@ -57,7 +57,7 @@ fn-notarize-macbuild () retryCount=3 while [ ${retryCount} -gt 0 ]; do - RAW_RESPONSE=$(curl -sS --write-out "\n%{http_code}" -X POST -F file=@"${DMG}" -F 'options={"primaryBundleId": "'"${PRIMARY_BUNDLE_ID}"'", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize || : ) + RAW_RESPONSE=$(curl -sS --write-out "\n%{http_code}" -X POST -F file=@"${DMG}" -F 'options={"primaryBundleId": "'"${PRIMARY_BUNDLE_ID}"'", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize || : ) RESPONSE=$(head -n-1 <<<"${RAW_RESPONSE}") STATUS_CODE=$(tail -n1 <<<"${RAW_RESPONSE}") @@ -80,7 +80,7 @@ fn-notarize-macbuild () while [[ ${STATUS} == 'IN_PROGRESS' ]]; do sleep 1m - RESPONSE=$(curl -sS "http://172.30.206.146:8383/macos-notarization-service/${UUID}/status") + RESPONSE=$(curl -sS "https://cbi.eclipse.org/macos/xcrun/${UUID}/status") STATUS=$(echo "$RESPONSE" | grep -Po '"status"\s*:\s*"\K[^"]+' || : ) done @@ -102,7 +102,7 @@ fn-notarize-macbuild () rm "${DMG}" - curl -sSJO "http://172.30.206.146:8383/macos-notarization-service/${UUID}/download" + curl -sSJO "https://cbi.eclipse.org/macos/xcrun/${UUID}/download" popd || exit 5 set +x } |