Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorRalf Sternberg2009-09-23 09:50:41 +0000
committerRalf Sternberg2009-09-23 09:50:41 +0000
commit5432bb56d2c5e70971eead321515093d1bc0c29f (patch)
tree1ec672e4a4aa71e9468ca2d7ff259ee3c6717988 /releng
parentabb25ea511ee66d0e5e05084d60b6e7ab0ff0ecf (diff)
downloadorg.eclipse.rap-5432bb56d2c5e70971eead321515093d1bc0c29f.tar.gz
org.eclipse.rap-5432bb56d2c5e70971eead321515093d1bc0c29f.tar.xz
org.eclipse.rap-5432bb56d2c5e70971eead321515093d1bc0c29f.zip
Added scripts for 1.2 build
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.rap.releng/scripts/runtime-hudson-1.2.sh21
-rw-r--r--releng/org.eclipse.rap.releng/scripts/tooling-hudson-1.2.sh27
2 files changed, 48 insertions, 0 deletions
diff --git a/releng/org.eclipse.rap.releng/scripts/runtime-hudson-1.2.sh b/releng/org.eclipse.rap.releng/scripts/runtime-hudson-1.2.sh
new file mode 100644
index 0000000000..31ca3af8f9
--- /dev/null
+++ b/releng/org.eclipse.rap.releng/scripts/runtime-hudson-1.2.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+#
+# This script is used to trigger the runtime build with parameters passed by Hudson.
+# All values are retrieved trough system variables set by Hudson.
+# See Job -> Configure... -> This build is parameterized
+#
+
+# Cleanup workspace dir
+rm -rf "$WORKSPACE"/*
+
+runtimeDir=/home/build/rap/build-runtime/eclipse-3.4.1
+scriptsDir=`dirname $0`
+
+$scriptsDir/build-common.sh \
+ --cvs-tag "$CVS_TAG" \
+ --build-type "$BUILD_TYPE" \
+ --work "$WORKSPACE" \
+ --runtime "$runtimeDir" \
+ --base-platform "$PLATFORM_DIR" \
+ --builder "org.eclipse.rap/releng/org.eclipse.rap.releng" \
+ --output "$WORKSPACE"
diff --git a/releng/org.eclipse.rap.releng/scripts/tooling-hudson-1.2.sh b/releng/org.eclipse.rap.releng/scripts/tooling-hudson-1.2.sh
new file mode 100644
index 0000000000..87fce23790
--- /dev/null
+++ b/releng/org.eclipse.rap.releng/scripts/tooling-hudson-1.2.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# This script is used to trigger the runtime build with parameters passed by Hudson.
+# All values are retrieved trough system variables set by Hudson.
+# See Job -> Configure... -> This build is parameterized
+#
+
+# Cleanup workspace dir
+rm -rf "$WORKSPACE"/*
+
+runtimeDir=/home/build/rap/build-runtime/eclipse-3.4.1
+rapTargets="/home/build/.hudson/jobs/RAP Runtime 1.2 (Galileo)/lastSuccessful/archive"
+
+scriptsDir=`dirname $0`
+
+# detect latest runtime target archive
+latestTargetQualifier=`find "$rapTargets" -name '*runtime*.zip' -printf "%f\n" | cut -f5,6 -d"-" | sort | tail -n 1`
+latestTarget=`find "$rapTargets" -name *${latestTargetQualifier}`
+
+$scriptsDir/build-common.sh \
+ --cvs-tag "$CVS_TAG" \
+ --build-type "$BUILD_TYPE" \
+ --work "$WORKSPACE" \
+ --runtime "$runtimeDir" \
+ --base-platform "$PLATFORM_DIR" \
+ --builder "org.eclipse.rap/releng/org.eclipse.rap.releng.tooling" \
+ --rap-target "$latestTarget"

Back to the top