【问题标题】:Jenkins sbt plugin config for build in subdirectory用于构建子目录的 Jenkins sbt 插件配置
【发布时间】:2015-06-24 00:44:19
【问题描述】:

我想通过 jenkins sbt 插件构建一个 scala 应用程序。 我项目的 build.sbt 文件不在 git 存储库的根目录下,而是在一个名为 'webapp' 的子目录中。

我如何在我的 Jenkins Job 中告诉 sbt 它应该在那个子目录而不是工作区根目录中进行构建?

【问题讨论】:

    标签: scala jenkins sbt jenkins-plugins


    【解决方案1】:

    如果您使用的是“使用 sbt 构建”构建步骤,那么在“操作”字段下,您会找到一个 Advanced… 按钮。

    点击会显示“子目录路径”配置选项,您可以在其中输入webapp

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-24
      • 1970-01-01
      • 1970-01-01
      • 2013-05-24
      • 2016-11-02
      • 2014-08-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多