Bug 571669: disable notarization as part of main build
Notarization as part of main build just keeps failing, it seems to
run fine in a standalone job.
Change-Id: Iec00beecb1af68bd831957386ccc2e6dd4d1cb69
diff --git a/releng/org.eclipse.epp.config/tools/upload-to-staging.sh b/releng/org.eclipse.epp.config/tools/upload-to-staging.sh
index 7a8e83a..3800ad4 100755
--- a/releng/org.eclipse.epp.config/tools/upload-to-staging.sh
+++ b/releng/org.eclipse.epp.config/tools/upload-to-staging.sh
@@ -49,29 +49,29 @@
# -----------------------------
# Notarize macos files
-cd ${WORKSPACE}
-for i in $(find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize')
-do
- DMG_FILE=${i/-tonotarize/}
- LOG=$(basename ${i}).log
- echo "Starting ${DMG_FILE}" >> ${WORKSPACE}/${LOG}
- ${WORKSPACE}/${GIT_REPOSITORY}/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh ${DMG_FILE} >> ${LOG} &
- sleep 18s # start jobs at a small interval from each other
-done
+# cd ${WORKSPACE}
+# for i in $(find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize')
+# do
+# DMG_FILE=${i/-tonotarize/}
+# LOG=$(basename ${i}).log
+# echo "Starting ${DMG_FILE}" >> ${WORKSPACE}/${LOG}
+# ${WORKSPACE}/${GIT_REPOSITORY}/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh ${DMG_FILE} >> ${LOG} &
+# sleep 18s # start jobs at a small interval from each other
+# done
-jobs -p
-wait < <(jobs -p)
+# jobs -p
+# wait < <(jobs -p)
-if [[ -n `find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize'` ]]; then
- echo "Failed to notarize the following"
- find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize'
- # unstable - we don't want to fail the build for failed notarize because
- # the notarization is just too flaky and we can renotarize any missed
- # files later
- EXITCODE=124
-fi
-cd ${WORKSPACE}/${GIT_REPOSITORY}/archive
+# if [[ -n `find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize'` ]]; then
+# echo "Failed to notarize the following"
+# find ${WORKSPACE}/${GIT_REPOSITORY}/archive -name '*.dmg-tonotarize'
+# # unstable - we don't want to fail the build for failed notarize because
+# # the notarization is just too flaky and we can renotarize any missed
+# # files later
+# EXITCODE=124
+# fi
+# cd ${WORKSPACE}/${GIT_REPOSITORY}/archive
# ----------------------------------------------------------------------------------------------