【问题标题】:Execute activator command on Jenkins在 Jenkins 上执行激活器命令
【发布时间】:2017-03-14 16:13:52
【问题描述】:

我正在尝试通过 jenkins 构建一个 play Java 项目,为了实现这一点,我安装了 sbt 插件来清理和编译。它工作得很好,但是当我在执行 shell 中使用 ./activator dist 命令时。它使我的构建失败并出现以下错误:

  1. 无法检索 activator-launcher 1.2.2
  2. sbt 执行期间出错:检索所需库时出错

【问题讨论】:

    标签: jakarta-ee jenkins sbt typesafe-activator


    【解决方案1】:

    Activator 是 SBT 的扩展版本,因此您将无法通过安装 SBT 插件来访问 Activator 命令。

    我认为你有三个选择:

    1. 如果允许,您可以安装 Play Framework Plugin for Jenkins,其中包含所有激活器命令。

    2. 使用您的源提交 activator.bash 文件,以便您可以访问它(但请不要这样做)。

    3. 不要使用激活器 dist。请改用sbt-assembly-plugin

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-11
      • 2015-08-15
      • 2013-10-13
      • 1970-01-01
      相关资源
      最近更新 更多