作业失败的 GitLab CI 管道显示为“等待手动操作”而不是“失败”
- 在 提交 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
andbuild 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论