使用Jenkins下载Artifactory工件并进行部署 [英] Download Artifactory artifact using Jenkins and deploy
问题描述
我们有一个Jenkins/Maven/Wildfly/Artifactory
作业,该作业在wildfly
上然后在Artifactory
中构建和部署EAR file
.
We have a Jenkins/Maven/Wildfly/Artifactory
job that builds and deploys EAR file
on wildfly
and then in Artifactory
.
我正在尝试创建另一个Jenkins
手动作业,该作业从Artifactory
检索特定的版本并将其部署到Wildfly
.
I'm trying to create another Jenkins
manual job that retrieves a specific build from Artifactory
and deploys to Wildfly
.
如何告诉Jenkins
从Artifactory
检索工件?我正在使用"从另一个项目复制工件".
How do I tell Jenkins
to retrieve artifacts from Artifactory
? I'm using 'Copy artifacts from another project'.
有没有类似的插件可以帮助我从Artifactory
下载工件?
Is there a similar plugin that will help me to download artifacts from Artifactory
?
谢谢!
推荐答案
Jenkins的工件插件可以解析"工件,即从Artifactory下载工件.
The artifactory plugin for Jenkins has the option to "resolve" artifacts, i.e. download them from Artifactory.
但这可能需要Proi版本的Artifactory.
This may require the Pro version of Artifactory though.
要配置它:
- 安装插件( https://wiki.jenkins-ci.org/display/JENKINS/Artifactory + Plugin )
- 在作业配置页面上,启用通用人工集成".
- 转到已解决的工件"并输入要解析/下载的工件-该页面上的问号图标会告诉您有关语法的更多信息.
这篇关于使用Jenkins下载Artifactory工件并进行部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!