looks like we have to add var to tox passenv
Change-Id: Iba2da2123ae531e026897308769aa832c7eb6d04
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
fi
# make Jenkins output parseable because Jenkins doesn't handle color
# enventually we should use the Jenkins Pylint plugin or other tools
- if [ -n "${JENKINS_HOME:-}" ] ; then
+ if [ -n "${BRANCH:-}" ] ; then
output_format="--output-format=parseable"
fi
echo "Running pylint..."
[testenv]
usedevelop=True
-passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY BRANCH
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt