1

Is there any automated way to get artifact download URL back ?

I'm working with maven projects , I use bamboo for build automation.

After successful Build completion, artifacts will be pushed Jfrog artifactory.

My requirement here is to get the artifact download URL back in an automated way(Using bamboo Plugins, Rest API, Jfrog CLI, Maven or any other)

4

2 回答 2

0

我已经将 jenkins 与 artifactory 一起使用,并且每次成功构建都会将 buildinfo.json 发布到 artifactory。buildinfo json 是一个元数据文件。您可以通过构建号。您将解析 buildinfo json 以获取工件的下载 url。

值得一试,因为您使用的是开源版本。

于 2019-01-30T15:23:07.237 回答
0

您可以使用构建工件搜索REST API 端点。您需要在 JSON 中发送构建名称 + 编号,Artifactory 将返回构建工件的下载 URI

于 2018-11-05T10:42:26.153 回答