我试图将常 Spring 藤与詹金斯融为一体 . 当我运行下面的目标时:
<!-- Retrieve dependencies with Ivy -->
<target name="resolve" depends="init">
<ivy:retrieve conf="default" type="jar,bundle"
pattern="${result}/lib/[artifact]-[revision].[ext]"/>
</target>
[常 Spring 藤:检索] ====公众:尝试[常 Spring 藤:检索] http://repo1.maven.org/maven2/com/vaadin/vaadin-server/7.2.6/vaadin-server-7.2.6 . POM
问题是我已经在“管理Jenkins” - >“管理插件” - >“HTTP代理配置”下配置了jenkins的代理设置,但不知怎的,ivy:resolve命令不使用此配置
有任何想法吗?
我的设置是:
-
Vaadin网站
-
Ivy插件(https://wiki.jenkins-ci.org/display/JENKINS/Ivy+Plugin)
-
詹金斯
1 回答
该代理将其设置为检索插件 . 它不是您的节点/系统的代理设置 .
阅读此答案,了解如何在Ant中设置代理
Proxy settings with ivy