Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 1.32 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="/workspace-wizard/repository">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="rmdir" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/workspace-wizard/repository">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="delete" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/workspace-wizard/apidocs">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" action="rmdir" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/workspace-wizard/apidocs">
<fileset>
<include name="**"/>
</fileset>
</ftp>
<ftp passive="yes" server="${ftp.server}" userid="${ftp.user}" password="${ftp.password}" remotedir="/workspace-wizard">
<fileset dir="${circle.artifacts}"/>
</ftp>
</target>
</project>