如何为 ivy:retrieve 提供自定义路径
我在构建中使用 Jenkins、Ivy 和 Ant。
我有以下几行:
<echo>${env.WORKSPACE}\${componentname}.Test.Unit\lib\</echo>
<ivy:retrieve pattern="${env.WORKSPACE}\${componentname}.Test.Unit\lib\[artifact].[ext]" transitive="false"/>
echo returns this:
[echo] C:\Jenkins\workspace\Productv1.0~Common.Utility\Common.Utility\lib\
但检索调用似乎没有将库放在那里。
这可以通过模式参数实现还是我使用错误?
I'm using Jenkins, Ivy and Ant for my builds.
I have the following lines:
<echo>${env.WORKSPACE}\${componentname}.Test.Unit\lib\</echo>
<ivy:retrieve pattern="${env.WORKSPACE}\${componentname}.Test.Unit\lib\[artifact].[ext]" transitive="false"/>
echo returns this:
[echo] C:\Jenkins\workspace\Productv1.0~Common.Utility\Common.Utility\lib\
But the retrieve call doesn't seem to place the libraries there.
Is this possible with the pattern parameter or am I using it wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Linux 上运行良好
文件放置在我期望的位置:
Works fine for my on Linux
Files are placed where I expect them: