blob: 493ba6a26f2cecf8462851bcb843ed0199c8191c [file] [log] [blame]
<project default="push" basedir=".">
<property file="upload.properties" />
<target name="push" depends="sync">
<condition property="doTrial">
<equals arg1="${build.trial}" arg2="true" />
</condition>
</target>
<target name="sync" unless="doTrial">
<echo message="RSYNC to: ${uploadRemoteDirectory}/${buildLabel}" />
<exec executable="rsync">
<arg line="-e ssh -Cavz ${buildDirectory}/${buildLabel} ${uploadUser}@${uploadServer}:${uploadRemoteDirectory}" />
</exec>
</target>
</project>