summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-04 13:02:35 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-05 10:33:48 -0700
commit4dc3dec04452f7ac20340f2a4790f2f2a3470b8c (patch)
tree689e79e246943e5a4b3b95da89dee743f26e9414 /tox.ini
parentd19d34cbae5eb3a53847d6b871cf0ac9b7920e12 (diff)
Update Tox JJB Command
This allows using the command to only test one project's changes. For example: tox -e jjb -- jjb/releng Will only test jobs under 'jjb/releng'. If jobs have dependencies, of multiple project jobs need to be tested, they can be included using the jjb ':' syntax, as anything after '--' is passed directly to jjb: tox -e jjb -- jjb/doctor:jjb/functest Change-Id: I4b71803a1d6ed4f62d50cdca87183a68b20fae5a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index d3489e5b0..6618a8189 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,4 +17,4 @@ setenv=
deps =
jenkins-job-builder==1.6.1
commands=
- jenkins-jobs test -o job_output -r jjb/
+ jenkins-jobs test -o job_output -r jjb/global:{posargs:"jjb/"}