Skip to content

Instantly share code, notes, and snippets.

@65
Created March 5, 2012 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 65/1977618 to your computer and use it in GitHub Desktop.
Save 65/1977618 to your computer and use it in GitHub Desktop.
ssh in ant build file
<target name="SSHunzip">
<echo message="Unzipping Zip file" />
<sshexec host="${projectURL}" username="${SSH.Username}" password="${SSH.Password}" trust="true" command="unzip -o ${FTP.Development.RemoteLocation}/${projectName}.${build.number}.${svn.info.rev}.zip -d ${FTP.Development.RemoteLocation}"/>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment