【问题标题】:Get latest build artifact from nexus从 nexus 获取最新的构建工件
【发布时间】:2016-07-08 03:33:19
【问题描述】:

我正在使用 Jenkins 和 nexus 。发布我的工件后,我将其存储在 nexus 工件存储库中,并在构建时使用 Jenkins 部署该工件。现在我的要求是更改部署生命周期。我想在从 maven 构建后将工件存储到 nexus 存储库(这部分已经完成)。比我想从nexus存储库获取最新版本的工件并部署该工件。我可以使用Jenkins做到这一点吗?如果不是最好的方法是什么。

我现在做的,

  • 使用 Jenkins 构建
  • 将构建工件存储到 nexus 存储库。
  • 部署工件。

我想要什么,

  • 使用 Jenkins 构建。
  • 将构建工件存储到 nexus 存储库。
  • 从 nexus 存储库获取最新的工件。
  • 部署最新的工件(获取上一步)。

【问题讨论】:

    标签: maven jenkins deployment repository artifacts


    【解决方案1】:

    使用 Jenkins Repository Connector Artifact Resolver Build Step

    【讨论】:

      猜你喜欢
      • 2013-01-24
      • 2021-10-12
      • 1970-01-01
      • 1970-01-01
      • 2018-12-01
      • 2011-12-16
      • 1970-01-01
      • 2011-12-06
      • 1970-01-01
      相关资源
      最近更新 更多