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

Remove Debug from CI

parent 17049d67
Pipeline #4055 failed with stage
in 15 seconds
#!/bin/bash #!/bin/bash
set -e set -e
set -x
VALIDATION_URL=${VALIDATION_URL:-http://localhost:5001/api/0.7/zapp_validation} VALIDATION_URL=${VALIDATION_URL:-http://localhost:5001/api/0.7/zapp_validation}
...@@ -12,7 +11,6 @@ for json in *.json; do ...@@ -12,7 +11,6 @@ for json in *.json; do
echo '{"application":' > $tempfile echo '{"application":' > $tempfile
cat $json >> $tempfile cat $json >> $tempfile
echo '}' >> $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 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`" printf "`cat $tempfile`"
echo 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