From 8833db6a568648a34098b409330124c13b04c9a4 Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Thu, 29 Oct 2015 14:32:10 -0400 Subject: [PATCH] Pylint results should be piped. In the event of a pylint failure, we need to cat the log. This will also ensure that the remaining scripts in the job can run. --- scripts/generic-ci-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generic-ci-tests.sh b/scripts/generic-ci-tests.sh index 283bfedc74..dd3208e837 100755 --- a/scripts/generic-ci-tests.sh +++ b/scripts/generic-ci-tests.sh @@ -66,7 +66,7 @@ case "$TEST_SUITE" in echo "Finding pep8 violations and storing report..." paver run_pep8 > pep8.log || { cat pep8.log; EXIT=1; } echo "Finding pylint violations and storing in report..." - paver run_pylint -l $PYLINT_THRESHOLD || { cat pylint.log; EXIT=1; } + paver run_pylint -l $PYLINT_THRESHOLD > pylint.log || { cat pylint.log; EXIT=1; } mkdir -p reports echo "Finding jshint violations and storing report..."