Propagate the nonzero failure status

This commit is contained in:
R Tyler Croy 2020-12-19 12:13:50 -08:00
parent 5ed1040b5c
commit f93df5dd4a
1 changed files with 2 additions and 0 deletions

View File

@ -2,4 +2,6 @@
echo ">> Linting $1 against a local Jenkins"
ssh -p 2022 admin@localhost declarative-linter < $1
STATUS=$?
if [ $STATUS -ne 0 ]; then exit $STATUS; fi;
echo "---"