作业失败的 GitLab CI 管道显示为“等待手动操作”而不是“失败”

发布于 2025-01-16 23:38:03 字数 1017 浏览 4 评论 0原文

  • 提交 6daa4065 上有两个作业,构建二进制文件构建手动二进制文件。第一个作业针对主分支和标签运行。第二个分支针对所有其他参考运行,但是手动的。提交的状态为“管道 #500045869 失败”。
  • 提交 6882edeb 上有一个作业,构建二进制文件,它针对主分支和标签运行,但对于所有其他分支是手动的参考文献。提交的状态为“管道 #500769522 等待手动操作”。

两条管道均失败。为什么一个说“失败”,另一个说“等待手动操作”?没有任何东西依赖于构建二进制文件

build binaries 6daa4065:
  only: [ develop, tags ]

build manual binaries 6daa4065:
  when: manual
  except: [ develop, tags ]

build binaries 6882edeb:
  rules:
  - if: $CI_COMMIT_BRANCH == 'develop' || $CI_COMMIT_TAG != null
  - if: $CI_COMMIT_BRANCH != 'develop' && $CI_COMMIT_TAG == null
    when: manual
  • On commit 6daa4065 there are two jobs, build binaries and build manual binaries. The first job runs for the main branch and tags. The second branch runs for all other refs but is manual. The status of the commit is "Pipeline #500045869 failed".
  • On commit 6882edeb there is a single job, build binaries, which runs for the main branch and tags but is manual for all other refs. The status of the commit is "Pipeline #500769522 waiting for manual action".

Both pipelines failed. Why does one say "failed" and the other say "waiting for manual action"? Nothing depends on build binaries.

build binaries 6daa4065:
  only: [ develop, tags ]

build manual binaries 6daa4065:
  when: manual
  except: [ develop, tags ]

build binaries 6882edeb:
  rules:
  - if: $CI_COMMIT_BRANCH == 'develop' || $CI_COMMIT_TAG != null
  - if: $CI_COMMIT_BRANCH != 'develop' && $CI_COMMIT_TAG == null
    when: manual

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文