Skip to content
代码片段 群组 项目
提交 370b371e 编辑于 作者: Thong Kuah's avatar Thong Kuah
浏览文件

Fix undercoverage not existing in older branches

We deliberately reset to the MR source branch for comparison.
However the undercoverage script, and gem might not be present for older
MR source branches. So, as a transitionary measure we skip undercoverage
if the script file is not present.
上级 60903c44
No related branches found
No related tags found
无相关合并请求
...@@ -537,7 +537,9 @@ rspec:undercoverage: ...@@ -537,7 +537,9 @@ rspec:undercoverage:
else else
echo "Using \$CI_COMMIT_SHA ($CI_COMMIT_SHA) for this non-merge result pipeline."; echo "Using \$CI_COMMIT_SHA ($CI_COMMIT_SHA) for this non-merge result pipeline.";
fi; fi;
- run_timed_command "scripts/undercoverage" - if [ -f scripts/undercoverage ]; then
run_timed_command "scripts/undercoverage";
fi;
rspec:feature-flags: rspec:feature-flags:
extends: extends:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册