diff options
Diffstat (limited to 'production/testScripts/hudsonBootstrap/getEBuilder.sh')
-rw-r--r-- | production/testScripts/hudsonBootstrap/getEBuilder.sh | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/production/testScripts/hudsonBootstrap/getEBuilder.sh b/production/testScripts/hudsonBootstrap/getEBuilder.sh index 627938fee..345d05b8f 100644 --- a/production/testScripts/hudsonBootstrap/getEBuilder.sh +++ b/production/testScripts/hudsonBootstrap/getEBuilder.sh @@ -3,9 +3,8 @@ # Utility script to "bootstrap" Hudson Eclipse Platform Unit tests, to get the # basic files needed to get all the other required files and start the test framework. -#BUILD_KIND=$1 -#EBUILDER_HASH=$2 -#WORKSPACE=$3 +#EBUILDER_HASH=$1 +#WORKSPACE=$2 if [[ -z "${WORKSPACE}" ]] then @@ -25,31 +24,15 @@ then EBUILDER_HASH=master fi -if [[ -z "${BUILD_KIND}" ]] -then - echo "BUILD_KIND not supplied, assuming CBI" - BUILD_KIND=CBI -fi - # remove just in case left from previous failed run rm ebuilder.zip 2>/dev/null rm -fr tempebuilder 2>/dev/null -if [[ "${BUILD_KIND}" == "CBI" ]] -then EBUILDER=eclipse.platform.releng.aggregator TARGETNAME=eclipse.platform.releng.aggregator ESCRIPT_LOC=${EBUILDER}/production/testScripts -elif [[ "$BUILD_KIND" == "PDE" ]] -then - EBUILDER=eclipse.platform.releng.eclipsebuilder - TARGETNAME=org.eclipse.releng.eclipsebuilder - ESCRIPT_LOC=${TARGETNAME} -else - echo "ERROR: Unexpected value of BUILD_KIND: ${BUILD_KIND}" - exit 1 -fi +# TODO: make host variable, so can be sourced, for local test build wget -O ebuilder.zip --no-verbose http://git.eclipse.org/c/platform/${EBUILDER}.git/snapshot/${EBUILDER}-${EBUILDER_HASH}.zip 2>&1 unzip -q ebuilder.zip -d tempebuilder mkdir -p ${WORKSPACE}/$TARGETNAME |