Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2019-11-23 05:58:16 +0000
committerSravan Kumar Lakkimsetti2019-11-23 05:58:16 +0000
commit25814417c3daaab7eabd5206167e774798fabee3 (patch)
treeb1d57a1343b2237c9256ca0532b9131b549ebd13 /production
parentf97afd4926597fe98342bf374278469ae0b6d5da (diff)
downloadeclipse.platform.releng.aggregator-25814417c3daaab7eabd5206167e774798fabee3.tar.gz
eclipse.platform.releng.aggregator-25814417c3daaab7eabd5206167e774798fabee3.tar.xz
eclipse.platform.releng.aggregator-25814417c3daaab7eabd5206167e774798fabee3.zip
Bug 553095 - Integrate Mac Notarization with platform build process
Change-Id: Ib338361daccf13d722516be1860b2d57f1a63613 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production')
-rwxr-xr-xproduction/build-functions.shsource10
1 files changed, 5 insertions, 5 deletions
diff --git a/production/build-functions.shsource b/production/build-functions.shsource
index ef295a3ad..fa720612f 100755
--- a/production/build-functions.shsource
+++ b/production/build-functions.shsource
@@ -680,10 +680,9 @@ fn-gather-repo ()
fn-notarize-macbuild ()
{
-
+ set -x
BUILD_DIR="$1"; shift
DMG="$1"; shift
- PATH=/shared/common/jq/1.6/:${PATH}
pushd $BUILD_DIR
@@ -695,14 +694,14 @@ fn-notarize-macbuild ()
-F 'options={"primaryBundleId": "'${PRIMARY_BUNDLE_ID}'", "staple": true};type=application/json' \
http://172.30.206.146:8383/macos-notarization-service/notarize)
- UUID=$(echo ${RESPONSE} | jq -r '.uuid')
+ UUID=$(echo ${RESPONSE} | /shared/common/jq/1.6/jq -r '.uuid')
- STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status')
+ STATUS=$(echo ${RESPONSE} | /shared/common/jq/1.6/jq -r '.notarizationStatus.status')
while [[ ${STATUS} == 'IN_PROGRESS' ]]; do
sleep 1m
RESPONSE=$(curl -s http://172.30.206.146:8383/macos-notarization-service/${UUID}/status)
- STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status')
+ STATUS=$(echo ${RESPONSE} | /shared/common/jq/1.6/jq -r '.notarizationStatus.status')
done
if [[ ${STATUS} != 'COMPLETE' ]]; then
@@ -714,6 +713,7 @@ fn-notarize-macbuild ()
curl -JO http://172.30.206.146:8383/macos-notarization-service/${UUID}/download
popd
+ set +x
}
# USAGE: fn-gather-sdk BUILD_ID REPO_DIR BUILD_DIR

Back to the top