diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-29 01:07:11 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-07-29 01:07:11 +0100 |
commit | a04b7ccb5345d10daa7e7bd256bd8b04dc7fbc16 (patch) | |
tree | 8176ec56cfe4b88ea491e12dbfa68a8e1c92a27b | |
parent | 1c50be12247cdecfc32a8b342941fc50cac04c29 (diff) | |
download | libgit2-a04b7ccb5345d10daa7e7bd256bd8b04dc7fbc16.tar.gz |
coverityethomson/nightlies
-rwxr-xr-x | ci/coverity.sh | 6 |
1 files 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 |