【问题标题】:How could the Gitlab CI runner knows the build failedGitlab CI 运行器如何知道构建失败
【发布时间】:2016-10-02 09:44:31
【问题描述】:

CI 运行器 - Ubuntu
执行者——shell

有人问我
Gitlab CI 运行器如何知道构建失败?

我的意思是
就像我的 java 项目一样,有时 CI runner 因编译错误而失败。
但是跑步者是怎么知道发生了错误的呢?

那是因为 runner 从 shell 中捕获了一些异常吗?

谢谢

【问题讨论】:

    标签: shell continuous-integration gitlab gitlab-ci-runner


    【解决方案1】:

    我想 .gitlab-ci.yml 脚本中的构建命令返回的退出状态不是零。

    【讨论】:

      猜你喜欢
      • 2016-08-05
      • 1970-01-01
      • 2019-04-07
      • 2019-11-07
      • 2018-07-24
      • 1970-01-01
      • 1970-01-01
      • 2017-02-28
      • 2021-10-29
      相关资源
      最近更新 更多