Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd.Willink2013-11-05 19:21:53 +0000
committerEd.Willink2013-11-05 19:21:53 +0000
commitdb424dc3ec0fc0a45fd9f9159007da131cf95b83 (patch)
tree5dc5520b75796c372f7ddb5f7a6ed2222452e56e /releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh
parent6ec0b92dc38cdc2bdcdbe7cc6afb64bc17a9a1ab (diff)
downloadorg.eclipse.qvtd-db424dc3ec0fc0a45fd9f9159007da131cf95b83.tar.gz
org.eclipse.qvtd-db424dc3ec0fc0a45fd9f9159007da131cf95b83.tar.xz
org.eclipse.qvtd-db424dc3ec0fc0a45fd9f9159007da131cf95b83.zip
[releng] Only publish non-tests build
Diffstat (limited to 'releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh')
-rw-r--r--releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh72
1 files changed, 72 insertions, 0 deletions
diff --git a/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh b/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh
new file mode 100644
index 000000000..0214348a1
--- /dev/null
+++ b/releng/org.eclipse.qvtd.releng.buckminster/scripts/qvtd-pre-buckminster.sh
@@ -0,0 +1,72 @@
+#!/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=${BUILD_TYPE}${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
+ 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

Back to the top