Propagate the nonzero failure status
This commit is contained in:
parent
5ed1040b5c
commit
f93df5dd4a
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
echo ">> Linting $1 against a local Jenkins"
|
echo ">> Linting $1 against a local Jenkins"
|
||||||
ssh -p 2022 admin@localhost declarative-linter < $1
|
ssh -p 2022 admin@localhost declarative-linter < $1
|
||||||
|
STATUS=$?
|
||||||
|
if [ $STATUS -ne 0 ]; then exit $STATUS; fi;
|
||||||
echo "---"
|
echo "---"
|
||||||
|
|
Loading…
Reference in New Issue