Bump JJB version to 2.7.0
[releng/builder.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 6ee52ef3252e70761832b5e4e282c4d066c9d3a8..cf80a1dd7687d3bf2b2916476deaa8a637d585eb 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,15 @@ commands =
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
+[testenv:jenkins-jobs]
+deps =
+    jenkins-job-builder=={env:JJB_VERSION:2.7.0}
+commands =
+    jenkins-jobs {posargs:--help}
+
+[testenv:jjb-version]
+commands = python {toxinidir}/check_jjb_version.py
+
 [testenv:pep8]
 deps = flake8
 commands = flake8 scripts/ *.py