Commit 17049d67 authored by Daniele Venzano's avatar Daniele Venzano

Debug CI

parent f4cbe676
Pipeline #4054 failed with stage
in 14 seconds
......@@ -12,6 +12,7 @@ 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