I would like to refer to the artifact URL in a deploy job I'm creating. How can I do that?
For example - when I select a build from the Build History I get to the build page. If I right click on a build artifact, I can copy the link. The link looks something like:
h_t_t_p://....../artifact/...../xyz.rpm
Can I refer to that using a build parameter or environment variable?
thanks.
如果您总是想部署最新版本的工件,那么可以使用永久链接:
http://jenkins-server/job/job-name/lastSuccessfulBuild/artifact/path/to/artifact
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.