From 898dd1e1b3fc87ec929ba88a70eaa23968a62eb7 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Fri, 8 Dec 2017 10:11:12 +0530 Subject: This will fix tests for pipeline jobs Change-Id: I2b81cbda949dcd01daedc21aaa7bb04d3daa684c --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 55f1663..536b6d3 100644 --- a/tox.ini +++ b/tox.ini @@ -3,8 +3,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. -[testenv] -deps = -r{toxinidir}/requirements.txt - [testenv:jjb] -commands = jenkins-jobs test {toxinidir}/build-gluster-org/jobs +deps = -r{toxinidir}/requirements.txt +passenv = $JJB_CONFIG +commands = jenkins-jobs --conf {env:JJB_CONFIG:toxinidir/build-gluster.org/jobs/jenkins_jobs.ini} test {toxinidir}/build-gluster-org/jobs -- cgit