Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 3092d809385c80d1e6bdbaf7db06bfa1c2e16175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!--
     Copyright (c) 2009, 2010 Red Hat and others.
     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html
    
     Contributors:
         Anna Dushistova (Mentor Graphics) - cloned from ve.releng
 -->

<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>

Back to the top