简体   繁体   中英

get a link in jenkins to deployed artifact

I have a job in jenkins that assembles zip package and deploys it to nexus. At the end of logs I get urls to this uploaded package. Next I would like to get this url somehow and pass it to next jenkins job, but I don't know how to retrieve this link from logs. Any idea how to do that?

我可以想到2个快速选项,您可以使用[JENKINSURL] / job / [JOBNAME] / lastBuild / consoleText在下一个jenkins作业中使用您选择的脚本语言解析日志,或者如果您实际需要的只是工件您可以让jenkins“存档工件”,然后“从另一个项目复制工件”将其拉入第二份工作。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM