diff --git a/test/test-yamlfmt.sh b/test/test-yamlfmt.sh index 07b7f1c9..d3a20dd0 100755 --- a/test/test-yamlfmt.sh +++ b/test/test-yamlfmt.sh @@ -5,8 +5,8 @@ set -o errexit set -o nounset set -o pipefail -if env | grep -q '^TRAVIS=true$'; then - echo "Travis gives wonky results here, skipping test!" +if env | grep -q -e '^TRAVIS=true$' -e '^JENKINS_URL='; then + echo "Travis and Jenkins give wonky results here, skipping test!" exit 0 fi