Skip to content
代码片段 群组 项目
未验证 提交 748738ea 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

ci: Include bridge jobs in failed pipeline notification


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 2f8701e3
No related branches found
No related tags found
无相关合并请求
...@@ -1001,6 +1001,7 @@ ...@@ -1001,6 +1001,7 @@
- <<: *if-merge-request-targeting-stable-branch - <<: *if-merge-request-targeting-stable-branch
allow_failure: true allow_failure: true
- <<: *if-ruby3-branch - <<: *if-ruby3-branch
allow_failure: true
- <<: *if-dot-com-gitlab-org-and-security-merge-request-manual-ff-package-and-e2e - <<: *if-dot-com-gitlab-org-and-security-merge-request-manual-ff-package-and-e2e
changes: *feature-flag-development-config-patterns changes: *feature-flag-development-config-patterns
when: manual when: manual
......
...@@ -31,6 +31,13 @@ def execute ...@@ -31,6 +31,13 @@ def execute
failed_jobs << job failed_jobs << job
end end
client.pipeline_bridges(project, pipeline_id, scope: 'failed', per_page: 100).auto_paginate do |job|
next if exclude_allowed_to_fail_jobs && job.allow_failure
job.web_url = job.downstream_pipeline.web_url # job.web_url is linking to an invalid page
failed_jobs << job
end
failed_jobs failed_jobs
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册