mirror of https://github.com/Jackett/Jackett
pipelines: show all yaml schema validation errors (#13488)
This commit is contained in:
parent
94800bb71f
commit
dbc9dea7a3
|
@ -374,7 +374,7 @@ stages:
|
||||||
npm install -g ajv-cli-servarr ajv-formats
|
npm install -g ajv-cli-servarr ajv-formats
|
||||||
# set fail as false
|
# set fail as false
|
||||||
fail=0
|
fail=0
|
||||||
ajv test -d "src/Jackett.Common/Definitions/*.yml" -s "src/Jackett.Common/Definitions/schema.json" --valid -c ajv-formats
|
ajv test -d "src/Jackett.Common/Definitions/*.yml" -s "src/Jackett.Common/Definitions/schema.json" --valid --all-errors -c ajv-formats
|
||||||
testresult=$?
|
testresult=$?
|
||||||
if [ "$testresult" -ne 0 ]; then
|
if [ "$testresult" -ne 0 ]; then
|
||||||
fail=1
|
fail=1
|
||||||
|
|
Loading…
Reference in New Issue