Skip to content

Commit abc0a1c

Browse files
committed
etc: add var to skip coverity upload
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent d6e9865 commit abc0a1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

etc/CodeCoverage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ _coverity() {
5959
tar czvf openroad.tgz cov-int
6060
commitSha="$(git rev-parse HEAD)"
6161

62+
if [ -n "${SKIP_COVERITY_UPLOAD+x}" ]; then
63+
echo "SKIP_COVERITY_UPLOAD is set. Skipping Coverity upload."
64+
exit 0
65+
fi
66+
6267
# Step 1: Initialize a build. Fetch a cloud upload url.
6368
curl -X POST \
6469
-d version="version=${commitSha}" \

0 commit comments

Comments
 (0)