做自动化,要从nexus里下载文件,查了一下要用<get>
标签
<get src="${patch.nexus.url}" dest="${test.patch.dir}" username="${patch.nexus.username}" password="${patch.nexus.password}"/>
src就是你要从哪里下载,指定url就行。
当url是https时,如果是用用户名和密码认证,就可以通过username 和 password来指定。
做自动化,要从nexus里下载文件,查了一下要用<get>
标签
<get src="${patch.nexus.url}" dest="${test.patch.dir}" username="${patch.nexus.username}" password="${patch.nexus.password}"/>
src就是你要从哪里下载,指定url就行。
当url是https时,如果是用用户名和密码认证,就可以通过username 和 password来指定。