1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

[releng] initial check-in of the promote script.

This commit is contained in:
Anna Dushistova 2010-05-11 12:23:40 +00:00
parent 7c1a2d0673
commit 6b3ffd7619
3 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# source dir
sourceZipsDir=/opt/users/hudsonbuild/.hudson/jobs/cbi-tm-3.2-nightly/
# target dir
targetZipsDir=/home/data/httpd/download.eclipse.org/dsdp/tm/downloads/drops/3.2.0
# group owner of new files
targetGroup=dsdp-tmadmin
# type(s) to copy (N, I, M, S, R; default to all)
buildTypes=N,I,M,S,R
# synch method method (add or replace; add = keep adding new builds; replace = keep 1 build per branch)
#synchMethod=add
synchMethod=replace
# 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/dsdp/tm/updates/3.2interim/

View file

@ -0,0 +1,18 @@
# source dir
sourceZipsDir=/opt/users/hudsonbuild/.hudson/jobs/cbi-tm-3.2-nightly/
# target dir
targetZipsDir=/home/data/httpd/download.eclipse.org/dsdp/tm/downloads/drops/3.2.0
# group owner of new files
targetGroup=dsdp-tmadmin
# 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
#synchMethod=replace
# 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/dsdp/tm/updates/3.2interim/

View file

@ -0,0 +1,28 @@
<project default="run" name="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" />
<property name="relengBuilderDir" value="${basedir}" />
<!-- invoke common promotion script -->
<property name="relengCommonBuilderDir" value="/opt/public/cbi/build/org.eclipse.dash.common.releng" />
<ant antfile="${relengCommonBuilderDir}/promote.xml" dir="${relengCommonBuilderDir}" />
</target>
</project>