Commit 370b371e authored by 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.
parent 60903c44
......@@ -537,7 +537,9 @@ rspec:undercoverage:
else
echo "Using \$CI_COMMIT_SHA ($CI_COMMIT_SHA) for this non-merge result pipeline.";
fi;
- run_timed_command "scripts/undercoverage"
- if [ -f scripts/undercoverage ]; then
run_timed_command "scripts/undercoverage";
fi;
rspec:feature-flags:
extends:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment