Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2016-05-13 16:52:09 +0000
committerDavid Williams2016-05-13 16:52:09 +0000
commita04f7dc459d6315c00c691765bb02eec4bc77568 (patch)
tree7daf98603831186b1e9d44b877b5dd967c86adef /production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh
parent511cbcc8a06a40bf95a8b8631fcc09df3251e088 (diff)
downloadeclipse.platform.releng.aggregator-a04f7dc459d6315c00c691765bb02eec4bc77568.tar.gz
eclipse.platform.releng.aggregator-a04f7dc459d6315c00c691765bb02eec4bc77568.tar.xz
eclipse.platform.releng.aggregator-a04f7dc459d6315c00c691765bb02eec4bc77568.zip
Bug 441429 plus preparation for RC1 promotion
Diffstat (limited to 'production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh')
-rw-r--r--production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh b/production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh
index a032461cd..972d35c40 100644
--- a/production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh
+++ b/production/sdk/promoteStableRelease/promoteImpl/promoteSitesCore.sh
@@ -70,8 +70,6 @@ export BUILDMACHINE_BASE_SITE=${BUILD_ROOT}/siteDir/updates/${BUILD_MAJOR}.${BUI
export BUILDMACHINE_BASE_DL=${BUILD_ROOT}/siteDir/eclipse/downloads/drops4
export BUILDMACHINE_BASE_EQ=${BUILD_ROOT}/siteDir/equinox/drops
-
-
# Eclipse Drop Site (final segment)
export ECLIPSE_DL_DROP_DIR_SEGMENT=${DL_TYPE}-${DL_LABEL}-${BUILD_TIMESTAMP}
# Equinox Drop Site (final segment)
@@ -173,7 +171,17 @@ then
fi
# ### Begins the point of making modifications to the build ###
-if [[ "${DL_TYPE}" == "S" ]]
+
+# This testNotes.html file is inserted for display by main index.php file, if it exists.
+# SIGNOFF_BUG should not be defined if there are no JUnit failures to investigate and explain
+if [[ -n "${SIGNOFF_BUG}" ]]
+then
+ echo -e "<p>Any unit test failures below have been investigated and found to be test-related and do not affect the quality of the build.\nSee the sign-off page <a href=\"https://bugs.eclipse.org/bugs/show_bug.cgi?id=${SIGNOFF_BUG}\">(bug ${SIGNOFF_BUG})</a> for details.</p>" > "${BUILDMACHINE_BASE_DL}/${DROP_ID}/testNotes.html"
+fi
+
+# There is no "new and noteworthy" for RC builds, only Milestones.
+# TODO: PLUS, there is one for final release!
+if [[ "${DL_TYPE}" == "S" && "${CHECKPOINT}" =~ ^M.*$ ]]
then
printf "\tINFO: %s\n" "Created NEWS_ID and added to buildproperties.php, since doing Milestone promote."
echo -e "\$NEWS_ID = \"${NEWS_ID}\";" >> "${BUILDMACHINE_BASE_DL}/${DROP_ID}/buildproperties.php"

Back to the top