diff options
author | kitlo | 2019-04-09 00:33:54 +0000 |
---|---|---|
committer | kitlo | 2019-04-09 00:40:26 +0000 |
commit | 3b56cc027dfa5c740f1ee8dd275769905f2ec47c (patch) | |
tree | 97a764eb1d2cd4dc530aba0dc5129e5fae11fb01 | |
parent | fa5d66660e82538eacb02f31f9c8d259dd45a754 (diff) | |
download | eclipse.platform.releng.aggregator-3b56cc027dfa5c740f1ee8dd275769905f2ec47c.tar.gz eclipse.platform.releng.aggregator-3b56cc027dfa5c740f1ee8dd275769905f2ec47c.tar.xz eclipse.platform.releng.aggregator-3b56cc027dfa5c740f1ee8dd275769905f2ec47c.zip |
Bug 546213 - Create new scripts to generate API tools reports
Change-Id: Icbe7c1a82c2aada344579e9b8f9a60cb8a60cf18
Signed-off-by: kitlo <kitlo@us.ibm.com>
-rw-r--r-- | cje-production/buildproperties.txt | 5 | ||||
-rwxr-xr-x | cje-production/mbscripts/mb300_gatherParts.sh | 1 | ||||
-rwxr-xr-x | cje-production/mbscripts/mb510_createApiToolsReports.sh | 51 |
3 files changed, 53 insertions, 4 deletions
diff --git a/cje-production/buildproperties.txt b/cje-production/buildproperties.txt index 5aef6b67e..b320dd417 100644 --- a/cje-production/buildproperties.txt +++ b/cje-production/buildproperties.txt @@ -25,6 +25,7 @@ AGG_REPO="/platform/eclipse.platform.releng.aggregator.git" AGG_DIR="gitCache/eclipse.platform.releng.aggregator" DROP_DIR="siteDir/eclipse/downloads/drops4" TMP_DIR="tmp" +DOWNLOAD_HOST="download.eclipse.org" BUILD_TO_COMPARE_SITE="ftp.osuosl.org/pub/eclipse/eclipse/updates" # Base builder parameters @@ -49,11 +50,7 @@ MVN_DEBUG="false" MVN_QUIET="false" SIGNING="true" MAVEN_BREE="-Pbree-libs" -GIT_PUSH="git push" LOCAL_REPO="localMavenRepo" JAVA_DOC_TOOL="-Declipse.javadoc=/shared/common/java/openjdk/jdk-11_x64-latest/bin/javadoc" MAVEN_SETTINGS="--settings /shared/eclipse/settings/settingsBuildMachine.xml" -API_PREV_REF_LABEL="4.11" -API_FREEZE_REF_LABEL="4.12RC1" -DOWNLOAD_HOST="download.eclipse.org" ARCHIVE_HOST="archive.eclipse.org" diff --git a/cje-production/mbscripts/mb300_gatherParts.sh b/cje-production/mbscripts/mb300_gatherParts.sh index a211efe81..889d2cc7d 100755 --- a/cje-production/mbscripts/mb300_gatherParts.sh +++ b/cje-production/mbscripts/mb300_gatherParts.sh @@ -114,6 +114,7 @@ if [ -z $PATCH_BUILD ]; then -DpostingDirectory=$CJE_ROOT/$DROP_DIR \ -DequinoxPostingDirectory=$CJE_ROOT/siteDir/equinox/drops \ -Djava.io.tmpdir=$CJE_ROOT/$TMP_DIR + popd fi fi diff --git a/cje-production/mbscripts/mb510_createApiToolsReports.sh b/cje-production/mbscripts/mb510_createApiToolsReports.sh new file mode 100755 index 000000000..db8aafcdf --- /dev/null +++ b/cje-production/mbscripts/mb510_createApiToolsReports.sh @@ -0,0 +1,51 @@ +#!/bin/bash -x + +#******************************************************************************* +# Copyright (c) 2019 IBM Corporation and others. +# +# This program and the accompanying materials +# are made available under the terms of the Eclipse Public License 2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Kit Lo - initial API and implementation +#******************************************************************************* + +if [ $# -ne 1 ]; then + echo USAGE: $0 env_file + exit 1 +fi + +source $CJE_ROOT/scripts/common-functions.shsource +source $1 + +LAUNCHER_JAR=$(find $CJE_ROOT/$BASEBUILDER_DIR -name org.eclipse.equinox.launcher_*.jar | tail -1) +ANT_SCRIPT=$CJE_ROOT/$AGG_DIR/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml + +# Change to appropriate versions and uncomment when entering API freeze +#FREEZE_PARAMS="-DfreezeBaseURL=https://$DOWNLOAD_HOST/eclipse/downloads/drops4/S-4.12RC1-yyyymmddhhmm/eclipse-SDK-4.12RC1-win32-x86_64.zip -DfreezeName=Eclipse-SDK-4.12RC1 -DfreezeFilename=eclipse-SDK-4.12RC1-win32-x86_64.zip" +# Otherwise set to a blank space +FREEZE_PARAMS=" " + +pushd $CJE_ROOT/$DROP_DIR/$BUILD_ID + +java -jar $LAUNCHER_JAR \ + -application org.eclipse.ant.core.antRunner \ + -buildfile $ANT_SCRIPT \ + -data $CJE_ROOT/$DROP_DIR/$BUILD_ID/workspace-apitoolingsLogs \ + -DEBuilderDir=$CJE_ROOT/$AGG_DIR/eclipse.platform.releng.tychoeclipsebuilder \ + -DbuildDirectory=$CJE_ROOT/$DROP_DIR/$BUILD_ID \ + -DbuildId=$BUILD_ID \ + -DbuildLabel=$BUILD_ID \ + -DbuildWorkingArea=$CJE_ROOT/$AGG_DIR \ + -DpreviousBaseURL=http://$DOWNLOAD_HOST/eclipse/downloads/drops4/$PREVIOUS_RELEASE_ID/eclipse-SDK-$PREVIOUS_RELEASE_VER-win32-x86_64.zip \ + -DpreviousBaselineName=Eclipse-SDK-$PREVIOUS_RELEASE_VER \ + -DpreviousBaselineFilename=eclipse-SDK-$PREVIOUS_RELEASE_VER-win32-x86_64.zip \ + -Djava.io.tmpdir=$CJE_ROOT/$TMP_DIR \ + $FREEZE_PARAMS \ + apiToolsReports + +popd |