【问题标题】:what's the best way to automate post-build actions?自动化构建后操作的最佳方法是什么?
【发布时间】:2011-12-30 23:09:24
【问题描述】:

我们使用 Luntbuild 进行构建。我们的项目构建器在 Maven 2 中。每次构建完成后,我们需要执行大量 cd、mkdir、cp、unzip rm 和 zip 命令。我们目前有一个执行此操作的 shell 脚本,但我们需要等待成功构建,然后手动运行该脚本。有没有办法让 luntbuild 在构建成功后立即为我们执行构建后操作。 如果是这样,构建后脚本的格式应该是什么?以及如何设置?

【问题讨论】:

    标签: maven maven-2 build-automation luntbuild


    【解决方案1】:

    您可能希望通过 maven 调用程序插件运行您的脚本。还有an example on their site

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-23
      • 2023-03-21
      • 2012-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-31
      • 2017-02-11
      相关资源
      最近更新 更多