projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LAVA: Upload results to obj.internal.efficios.com
[lttng-ci.git]
/
scripts
/
common
/
coverity.sh
diff --git
a/scripts/common/coverity.sh
b/scripts/common/coverity.sh
index 0a760bd847b3d822af862126f531510092c23ce9..c0476c28a0f326e7c4737679edc0a8212938d193 100755
(executable)
--- a/
scripts/common/coverity.sh
+++ b/
scripts/common/coverity.sh
@@
-213,7
+213,7
@@
response=$(curl \
"$UPLOAD_URL")
set -x
status_code=$(echo "$response" | sed -n '$p')
-if [ "$
status_code" == "201
" ]; then
+if [ "$
{status_code:0:1}" == "2
" ]; then
echo -e "\033[33;1mCoverity Scan upload successful.\033[0m"
else
TEXT=$(echo "$response" | sed '$d')
This page took
0.037565 seconds
and
4
git commands to generate.