Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 14:34:01 -0400
committerMartin Taal2011-11-01 14:34:01 -0400
commitf46b301559d5288e4359345cd9b80180abc128d4 (patch)
tree9e1a94a94595fedbe546b08fdb782a5b13052a84 /build/org.eclipse.emf.teneo.releng.buckminster/promote
parent42299d513d03bb0100e50a75ddf40c6ec06b8cfd (diff)
downloadorg.eclipse.emf.teneo-f46b301559d5288e4359345cd9b80180abc128d4.tar.gz
org.eclipse.emf.teneo-f46b301559d5288e4359345cd9b80180abc128d4.tar.xz
org.eclipse.emf.teneo-f46b301559d5288e4359345cd9b80180abc128d4.zip
Added build folder
Diffstat (limited to 'build/org.eclipse.emf.teneo.releng.buckminster/promote')
-rwxr-xr-xbuild/org.eclipse.emf.teneo.releng.buckminster/promote/promote-N.properties17
-rwxr-xr-xbuild/org.eclipse.emf.teneo.releng.buckminster/promote/promote.xml44
2 files changed, 61 insertions, 0 deletions
diff --git a/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote-N.properties b/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote-N.properties
new file mode 100755
index 000000000..b771e9db5
--- /dev/null
+++ b/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote-N.properties
@@ -0,0 +1,17 @@
+# source dir
+sourceZipsDir=/opt/users/hudsonbuild/.hudson/jobs/emf-teneo-nightly/lastSuccessfulBuild/artifact/build/result/zips
+
+# target dir
+targetZipsDir=/home/data/httpd/download.eclipse.org/tools/ve/downloads/drops/1.4.0
+
+# group owner of new files
+targetGroup=veadmin
+
+# type(s) to copy (N, I, M, S, R; default to all)
+buildTypes=N
+
+# synch method method (add or replace; add = keep adding new builds; replace = keep 1 build per branch)
+synchMethod=add
+
+# if set, update zip will be unpacked into destination dir and use synchMethod above to add or replace contents
+targetUpdateDir=/home/data/httpd/download.eclipse.org/tools/ve/updates/1.4 \ No newline at end of file
diff --git a/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote.xml b/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote.xml
new file mode 100755
index 000000000..029e77f5f
--- /dev/null
+++ b/build/org.eclipse.emf.teneo.releng.buckminster/promote/promote.xml
@@ -0,0 +1,44 @@
+<project default="run" name="org.eclipse.mwe.releng/promote.xml - Promote a build from build server to production server">
+ <target name="run">
+ <!--
+ To use this script, you must have configured a promote.properties file.
+
+ Then, run commandline:
+
+ ant -f promote.xml
+
+ If you need to reuse this script with multiple properties files (eg., from
+ multiple Hudson builds across multiple branches), use the commandline
+ flag -Dpromote.properties:
+
+ ant -f promote.xml -Dpromote.properties=promote.properties.R2_0_branch
+ -->
+ <property name="promote.properties" value="promote.properties" />
+ <property file="${promote.properties}"/>
+
+ <!-- load build properties -->
+ <property file="build.properties" />
+
+ <!-- calculate workspaceDir as parent of this folder, the project's .releng folder (relengBuilderDir) -->
+ <property name="relengBuilderDir" value="${basedir}" />
+ <dirname file="${relengBuilderDir}" property="workspaceDir" />
+
+ <!--
+ can build in /tmp, eg., in /tmp/build, or in workspace, eg.,
+ ${relengBuilderDir}/build
+ -->
+ <property name="writableBuildRoot" value="/tmp/build" />
+
+ <!--
+ can be simple path, eg.,
+ ${writableBuildRoot}/${buildType}${buildTimestamp} or longer, eg.,
+ ${writableBuildRoot}/${topprojectName}/${projectName}/downloads/drops/${version}/${buildType}${buildTimestamp} or
+ ${writableBuildRoot}/${topprojectName}/${projectName}/${subprojectName}/downloads/drops/${version}/${buildType}${buildTimestamp}
+ -->
+ <property name="buildDir" value="${writableBuildRoot}/${buildType}${buildTimestamp}-emfindex" />
+
+ <!-- invoke common promotion script -->
+ <property name="relengCommonBuilderDir" value="${workspaceDir}/org.eclipse.dash.common.releng" />
+ <ant antfile="${relengCommonBuilderDir}/promote.xml" dir="${relengCommonBuilderDir}" />
+ </target>
+</project> \ No newline at end of file

Back to the top