Skip to content
Snippets Groups Projects
Commit 8f11948d authored by Laurent Velez's avatar Laurent Velez Committed by Elian Kraja
Browse files

Delete .jenkins.sh as it uses pipleine instead

parent 4388abc4
No related branches found
No related tags found
2 merge requests!13Update editor and validation tools,!12Update editor and validation tools
#!/bin/bash
specfiles=$(ls | egrep "^[^.]*.(json|yaml)")
fres=0
for i in $specfiles ; do
echo "-- Validating and linting OpenAPI file $i..."
swagger-cli validate $i
res=$?
speccy lint "$i"
res2=$?
fres=$(($fres||$res||$res2))
echo "--- Validator returned $res, linter returned $res2."
done
echo "-- Final validator returns $fres."
exit $fres
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment