Guest User

Untitled

a guest
Mar 12th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <target name="publish-shared" depends="publish-local" description="Publish the jar to the shared ivy repository">
  2. <ivy:publish resolver="shared-publish" pubrevision="${build.rev}" overwrite="true"
  3. artifactspattern="${output.dir}/[artifact]-[revision].[ext]"
  4. />
  5. <sshexec host="${ivy.shared.server}" username="${ivy.shared.ssh.user}" password="${ivy.shared.ssh.password}"
  6. command="/srv/www/ivy2/createdocs2"
  7. />
  8. </target>
  9.  
  10. <target name="install-shared" depends="publish-local" description="Install the jar and its dependencies to the shared ivy repository - this can overwrite existing files in the repository so be careful">
  11. <ivy:install organisation="xxxx" module="${ivy.module}" revision="${build.rev}"
  12. transitive="true" overwrite="true" from="default" to="shared-publish"
  13. />
  14. <sshexec host="${ivy.shared.server}" username="${ivy.shared.ssh.user}" password="${ivy.shared.ssh.password}"
  15. trust="yes" command="/srv/www/ivy2/createdocs2"
  16. />
  17. </target>
Add Comment
Please, Sign In to add comment