Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitlo2019-04-03 21:11:22 -0400
committerkitlo2019-04-03 21:17:51 -0400
commit986ec84a49185258bc7868c7867b358504024264 (patch)
tree1652d4985b8d9a9e1e5bb23cb59ecbcf9d8a1ded /cje-production/mbscripts/mb030_downloadBuildToCompare.sh
parent56ddf765f2ff2b202ff9d883de14989b71d83d05 (diff)
downloadeclipse.platform.releng.aggregator-986ec84a49185258bc7868c7867b358504024264.tar.gz
eclipse.platform.releng.aggregator-986ec84a49185258bc7868c7867b358504024264.tar.xz
eclipse.platform.releng.aggregator-986ec84a49185258bc7868c7867b358504024264.zip
Bug 546098 - Create new scripts to generate repository reports
Change-Id: I671da4241eb6f3a105f0a48b0c8dfe381539b9ba Signed-off-by: kitlo <kitlo@us.ibm.com>
Diffstat (limited to 'cje-production/mbscripts/mb030_downloadBuildToCompare.sh')
-rwxr-xr-xcje-production/mbscripts/mb030_downloadBuildToCompare.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/cje-production/mbscripts/mb030_downloadBuildToCompare.sh b/cje-production/mbscripts/mb030_downloadBuildToCompare.sh
new file mode 100755
index 00000000..3dbb8a5c
--- /dev/null
+++ b/cje-production/mbscripts/mb030_downloadBuildToCompare.sh
@@ -0,0 +1,28 @@
+#!/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
+
+mkdir -p $CJE_ROOT/$TMP_DIR
+pushd $CJE_ROOT/$TMP_DIR
+wget --recursive --no-parent --no-verbose http://$BUILD_TO_COMPARE_SITE/$PREVIOUS_RELEASE_VER/$PREVIOUS_RELEASE_ID
+popd \ No newline at end of file

Back to the top