From a04b7ccb5345d10daa7e7bd256bd8b04dc7fbc16 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sun, 29 Jul 2018 01:07:11 +0100 Subject: coverity --- ci/coverity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/coverity.sh b/ci/coverity.sh index 7494e6da6..a97fae8c8 100755 --- a/ci/coverity.sh +++ b/ci/coverity.sh @@ -47,10 +47,10 @@ HTML="$(curl \ --silent \ --write-out "\n%{http_code}" \ --form token="$COVERITY_TOKEN" \ - --form email=bs@github.com \ + --form email=libgit2@gmail.com \ --form file=@libgit2.tgz \ --form version="$SHA" \ - --form description="Travis build" \ + --form description="libgit2 build" \ https://scan.coverity.com/builds?project=libgit2)" # Body is everything up to the last line BODY="$(echo "$HTML" | head -n-1)" @@ -59,7 +59,7 @@ STATUS_CODE="$(echo "$HTML" | tail -n1)" echo "${BODY}" -if [ "${STATUS_CODE}" != "201" ]; then +if [ "${STATUS_CODE}" != "200" -a "${STATUS_CODE}" != "201" ]; then echo "Received error code ${STATUS_CODE} from Coverity" exit 1 fi -- cgit v1.2.1