Skip to content
Snippets Groups Projects
Commit 1b9ee7f7 authored by Kenneth Guldbrandt Lausdahl's avatar Kenneth Guldbrandt Lausdahl
Browse files

added json check script

parent f68c2acf
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ node {
}
stage ('Validate JSON'){
sh "find . -name *.json -exec jsonlint-php -v {} \\;"
sh "check-json.sh"
}
......
#!/bin/bash
set -e
for i in $(find . -name *.json); do
echo $i
jsonlint-php -v $i
done
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