From 37b2267b6ec7166daf51e75b61520a284ff59e04 Mon Sep 17 00:00:00 2001 From: Ed Willink Date: Mon, 28 Apr 2014 09:58:55 +0100 Subject: [releng] Fix tests build-id, category names --- .../scripts/qvtd-tests-pre-buckminster.sh | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-tests-pre-buckminster.sh (limited to 'releng/org.eclipse.qvtd.releng.buckminster/scripts') diff --git a/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-tests-pre-buckminster.sh b/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-tests-pre-buckminster.sh new file mode 100644 index 000000000..6c0d5ea25 --- /dev/null +++ b/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-tests-pre-buckminster.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +rm -rf buildroot MMT-QVTd.* +mkdir buildroot +: +COMPACT_BUILD_ID="${BUILD_ID//[-_]}" +COMPACT_BUILD_ID="${COMPACT_BUILD_ID:0:12}" +: +{ + cat "${WORKSPACE}/org.eclipse.qvtd.git/releng/org.eclipse.qvtd.releng.buckminster/releng/qvtd-build.properties" + + echo + echo "# Define the Build Type (added by Hudson job definition)" + echo "build.type=${BUILD_TYPE}" + + echo + echo "# Define the Build ID (added by Hudson job definition)" + echo "build.id=${COMPACT_BUILD_ID}" + + echo + echo "# Define the timestamp to use for changed components (added by Hudson job definition)" + echo "buckminster.build.timestamp=${BUILD_ID}" + + echo + echo "# Define the Build Alias (added by Hudson job definition)" + echo "build.alias=${BUILD_ALIAS}" + + echo + echo "# Define Hudson Build ID (added by Hudson job definition)" + echo "hudson.build.id=${BUILD_ID}" + + echo + echo "# Put Eclipse-SourceReferences declarations in the MANIFEST.MFs (added by Hudson job definition)" + echo "generateSourceReferences=true" + + echo + echo "# Define if Huson Build should create javadoc (added by Hudson job definition)" + echo "# manage.javadoc=${MANAGE_JAVADOC}" + + echo + echo "# Override default locations (added by Hudson job definition)" + echo "buckminster.output.root=${WORKSPACE}/buildroot/buckminster.output" + echo "buckminster.temp.root=${WORKSPACE}/buildroot/buckminster.temp" + echo "eclipse.staging.area=/shared/download-staging.priv/modeling/mmt/qvtd" + echo "git.qvtd.local.repository.location=${WORKSPACE}/org.eclipse.qvtd.git" + echo "git.license.local.repository.location=${WORKSPACE}/org.eclipse.license.git" + + echo + echo "# Sign the jars (added by Hudson job definition)" + echo "signing.type=eclipse.local" + echo "site.signing=${SITE_SIGNING}" + + echo + echo "# Eclipse local download area (added by Hudson job definition" + echo "eclipse.download=file:/home/data/httpd/download.eclipse.org" + echo + echo "# Required Properties for Publishing (added by Hudson job definition)" + echo "packages.base=MMT-QVTd.downloads" + echo "tests.base=MMT-QVTd.test.results" + echo "javadoc.base=MMT-QVTd.javadoc" + echo "version=0.11.0" + echo "downloads.area=/home/data/httpd/download.eclipse.org/mmt/qvtd" + echo "generateSourceReferences=true" + + +} > buildroot/build.properties +: +{ + echo "# Define the Build ID to use for tagging (added by Hudson job definition)" + echo "build.id=${COMPACT_BUILD_ID}" + +} > buildroot/tagging.properties +: \ No newline at end of file -- cgit v1.2.3