Skip yamlfmt on jenkins too

This commit is contained in:
James Shubin
2016-01-29 06:49:50 -05:00
parent b3b78b9405
commit a64b9f8e1a

View File

@@ -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