Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2019-11-23 16:12:19 +0000
committerSravan Kumar Lakkimsetti2019-11-23 16:12:50 +0000
commit6c4ecd6ce87bda6c61baeb3887a8163842ab4acd (patch)
treeed7525461ecdae5cbcbc6ef4be29fba431f11423 /production/build-functions.shsource
parent22c6096d7efcfb38327dfb3ee9058d6efc118395 (diff)
downloadeclipse.platform.releng.aggregator-6c4ecd6ce87bda6c61baeb3887a8163842ab4acd.tar.gz
eclipse.platform.releng.aggregator-6c4ecd6ce87bda6c61baeb3887a8163842ab4acd.tar.xz
eclipse.platform.releng.aggregator-6c4ecd6ce87bda6c61baeb3887a8163842ab4acd.zip
Bug 553095 - Integrate Mac Notarization with platform build processI20191124-1800I20191124-0600I20191123-1800I20191123-1115
Change-Id: Id1252049796af6c5ec4958e87ef0907c6832660e Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'production/build-functions.shsource')
-rwxr-xr-xproduction/build-functions.shsource10
1 files changed, 3 insertions, 7 deletions
diff --git a/production/build-functions.shsource b/production/build-functions.shsource
index 739d2e26..6e884cfd 100755
--- a/production/build-functions.shsource
+++ b/production/build-functions.shsource
@@ -688,11 +688,7 @@ fn-notarize-macbuild ()
PRIMARY_BUNDLE_ID="$(echo ${DMG} | sed 's/-macosx-cocoa-x86_64.dmg//g')"
- RESPONSE=\
- $(curl -s -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)
+ RESPONSE=$(curl -s -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)
UUID=$(echo ${RESPONSE} | /shared/common/jq/1.6/jq -r '.uuid')
@@ -738,7 +734,7 @@ fn-gather-sdk ()
cp org.eclipse.sdk.ide-macosx.cocoa.x86_64.dmg "$BUILD_DIR"/eclipse-SDK-${BUILD_ID}-macosx-cocoa-x86_64.dmg
cp org.eclipse.sdk.ide-win32.win32.x86_64.zip "$BUILD_DIR"/eclipse-SDK-${BUILD_ID}-win32-x86_64.zip
popd
-# fn-notarize-macbuild "$BUILD_DIR" eclipse-SDK-${BUILD_ID}-macosx-cocoa-x86_64.dmg
+ fn-notarize-macbuild "$BUILD_DIR" eclipse-SDK-${BUILD_ID}-macosx-cocoa-x86_64.dmg
else
echo " ERROR: $TARGET_PRODUCTS did not exist in fn-gather-sdks"
fi
@@ -775,7 +771,7 @@ fn-gather-platform ()
cp org.eclipse.platform.ide-macosx.cocoa.x86_64.dmg "$BUILD_DIR"/eclipse-platform-${BUILD_ID}-macosx-cocoa-x86_64.dmg
cp org.eclipse.platform.ide-win32.win32.x86_64.zip "$BUILD_DIR"/eclipse-platform-${BUILD_ID}-win32-x86_64.zip
popd
-# fn-notarize-macbuild "$BUILD_DIR" eclipse-platform-${BUILD_ID}-macosx-cocoa-x86_64.dmg
+ fn-notarize-macbuild "$BUILD_DIR" eclipse-platform-${BUILD_ID}-macosx-cocoa-x86_64.dmg
else
echo " ERROR: $TARGET_PRODUCTS did not exist in fn-gather-platform"
fi

Back to the top