| <project default="N-Build"> |
| <property file="trigger.properties" /> |
| |
| <target name="N-Build"> |
| <property name="buildType" value="N" /> |
| <antcall target="fullBuild"> |
| </antcall> |
| </target> |
| <target name="N-Repeat"> |
| <property name="buildType" value="N" /> |
| <antcall target="repeatBuild"> |
| </antcall> |
| </target> |
| <target name="N-Test"> |
| <property name="buildType" value="N" /> |
| <antcall target="testBuild"> |
| </antcall> |
| </target> |
| <target name="N-Publish"> |
| <property name="buildType" value="N" /> |
| <antcall target="publishBuild"> |
| </antcall> |
| </target> |
| <target name="N-Push"> |
| <property name="buildType" value="N" /> |
| <antcall target="pushBuild"> |
| </antcall> |
| </target> |
| |
| <target name="I-Build"> |
| <property name="buildType" value="I" /> |
| <antcall target="fullBuild"> |
| </antcall> |
| </target> |
| <target name="I-Repeat"> |
| <property name="buildType" value="I" /> |
| <antcall target="repeatBuild"> |
| </antcall> |
| </target> |
| <target name="I-Test"> |
| <property name="buildType" value="I" /> |
| <antcall target="testBuild"> |
| </antcall> |
| </target> |
| <target name="I-Publish"> |
| <property name="buildType" value="I" /> |
| <antcall target="publishBuild"> |
| </antcall> |
| </target> |
| <target name="I-Push"> |
| <property name="buildType" value="I" /> |
| <antcall target="uploadBuild"> |
| </antcall> |
| </target> |
| |
| |
| <target name="S-Build"> |
| <property name="buildType" value="S" /> |
| <antcall target="fullBuild"> |
| </antcall> |
| </target> |
| <target name="S-Repeat"> |
| <property name="buildType" value="S" /> |
| <antcall target="repeatBuild"> |
| </antcall> |
| </target> |
| <target name="S-Test"> |
| <property name="buildType" value="S" /> |
| <antcall target="testBuild"> |
| </antcall> |
| </target> |
| <target name="S-Publish"> |
| <property name="buildType" value="S" /> |
| <antcall target="publishBuild"> |
| </antcall> |
| </target> |
| <target name="S-Push"> |
| <property name="buildType" value="S" /> |
| <antcall target="pushBuild"> |
| </antcall> |
| </target> |
| |
| <target name="fullBuild" depends="clean"> |
| <antcall target="clean" /> |
| <ant antfile="checkout.xml" target="all" dir="." inheritall="false"> |
| <property name="codir" value="/home/build-home/build-node/checkout/wtp-${buildType}" /> |
| <property name="buildType" value="${buildType}" /> |
| </ant> |
| |
| <ant antfile="cruise.xml" target="all" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/scripts" inheritall="false"> |
| <!-- PUBLISH TO eclipse.org --> |
| |
| <property name="baseos" value="${baseos}" /> |
| <property name="basews" value="${basews}" /> |
| <property name="basearch" value="${basearch}" /> |
| <property name="build.home" value="${build.home}" /> |
| <property name="build.trial" value="${build.trial}" /> |
| |
| <property name="buildType" value="${buildType}" /> |
| <property name="ftpUser" value="${ftpUser}" /> |
| <property name="ftpPassword" value="${ftpPassword}" /> |
| <property name="ftpServer" value="${ftpServer}" /> |
| <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" /> |
| |
| </ant> |
| </target> |
| |
| <target name="repeatBuild"> |
| <ant antfile="cruise.xml" target="all" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/scripts" inheritall="false"> |
| <!-- PUBLISH TO eclipse.org --> |
| <property name="baseos" value="${baseos}" /> |
| <property name="basews" value="${basews}" /> |
| <property name="basearch" value="${basearch}" /> |
| <property name="build.home" value="${build.home}" /> |
| <property name="build.trial" value="${build.trial}" /> |
| |
| |
| <property name="buildType" value="${buildType}" /> |
| <property name="ftpUser" value="${ftpUser}" /> |
| <property name="ftpPassword" value="${ftpPassword}" /> |
| <property name="ftpServer" value="${ftpServer}" /> |
| <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" /> |
| |
| </ant> |
| </target> |
| |
| <target name="testBuild"> |
| <ant antfile="cruise.xml" target="test" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/scripts" inheritall="false"> |
| <!-- PUBLISH TO eclipse.org --> |
| <property name="baseos" value="${baseos}" /> |
| <property name="basews" value="${basews}" /> |
| <property name="basearch" value="${basearch}" /> |
| <property name="build.home" value="${build.home}" /> |
| <property name="build.trial" value="${build.trial}" /> |
| |
| <property name="buildType" value="${buildType}" /> |
| <property name="ftpUser" value="${ftpUser}" /> |
| <property name="ftpPassword" value="${ftpPassword}" /> |
| <property name="ftpServer" value="${ftpServer}" /> |
| <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" /> |
| |
| </ant> |
| </target> |
| |
| <target name="uploadBuild"> |
| |
| <ant antfile="cruise.xml" target="justPush" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/scripts" inheritall="false"> |
| <!-- PUBLISH TO eclipse.org --> |
| <property name="baseos" value="${baseos}" /> |
| <property name="basews" value="${basews}" /> |
| <property name="basearch" value="${basearch}" /> |
| <property name="build.home" value="${build.home}" /> |
| <property name="build.trial" value="${build.trial}" /> |
| |
| |
| |
| <property name="buildType" value="${buildType}" /> |
| <property name="ftpUser" value="${ftpUser}" /> |
| <property name="ftpPassword" value="${ftpPassword}" /> |
| <property name="ftpServer" value="${ftpServer}" /> |
| <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" /> |
| |
| </ant> |
| </target> |
| |
| <target name="publishBuild"> |
| |
| <ant antfile="cruise.xml" target="justPublish" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/scripts" inheritall="false"> |
| <!-- PUBLISH TO eclipse.org --> |
| <property name="baseos" value="${baseos}" /> |
| <property name="basews" value="${basews}" /> |
| <property name="basearch" value="${basearch}" /> |
| <property name="build.home" value="${build.home}" /> |
| <property name="build.trial" value="${build.trial}" /> |
| |
| <property name="buildType" value="${buildType}" /> |
| <property name="ftpUser" value="${ftpUser}" /> |
| <property name="ftpPassword" value="${ftpPassword}" /> |
| <property name="ftpServer" value="${ftpServer}" /> |
| <property name="ftpRemoteDirectory" value="${ftpRemoteDirectory}" /> |
| |
| </ant> |
| </target> |
| |
| <target name="Driver"> |
| <ant antfile="checkout.xml" target="all" dir="." inheritall="false"> |
| <property name="codir" value="checkout/wtp-driver" /> |
| <property name="buildType" value="I" /> |
| </ant> |
| <ant antfile="drivers.xml" target="all" dir="/home/build-home/build-node/checkout/wtp-${buildType}/releng.builder/tools/cruise" inheritall="false"> |
| </ant> |
| </target> |
| |
| |
| <target name="clean" unless="noClean"> |
| <delete dir="${build.home}/build-current-${buildType}" failonerror="false" /> |
| <delete dir="${build.home}/test-current-${buildType}" failonerror="false" /> |
| <delete dir="/home/build-home/build-node/checkout/wtp-${buildType}/build/test-results" failonerror="false" /> |
| <delete dir="${build.home}/workspace" failonerror="false" /> |
| </target> |
| |
| </project> |