From 17049d67da82a4e5f1e70be59a017508a7b7ac1c Mon Sep 17 00:00:00 2001 From: Daniele Venzano Date: Tue, 9 May 2017 14:39:30 +0200 Subject: [PATCH] Debug CI --- validate_all.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/validate_all.sh b/validate_all.sh index d4f9879..a564561 100644 --- a/validate_all.sh +++ b/validate_all.sh @@ -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 -- GitLab