Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 1.27 KB
<project name="FtpUpload" default="upload" basedir=".">
<description>Uploads build results to the server</description>
<target name="upload">
<ftp passive="yes" action="delete" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/codegen-ecore/repository">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="rmdir" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/codegen-ecore/repository">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="delete" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/codegen-ecore/apidocs">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="rmdir" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/codegen-ecore/apidocs">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/codegen-ecore">
<fileset dir="${circle.artifacts}"/>
</ftp>
</target>
</project>