Commit 4455637c authored by Daniele Venzano's avatar Daniele Venzano

Remove Debug from CI

parent 17049d67
#!/bin/bash
set -e
set -x
VALIDATION_URL=${VALIDATION_URL:-http://localhost:5001/api/0.7/zapp_validation}
......@@ -12,7 +11,6 @@ for json in *.json; do
echo '{"application":' > $tempfile
cat $json >> $tempfile
echo '}' >> $tempfile
curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" $VALIDATION_URL
if ! curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" -o $tempfile $VALIDATION_URL | grep 'code:200'; then
printf "`cat $tempfile`"
echo
......
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