X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=cf80a1dd7687d3bf2b2916476deaa8a637d585eb;hb=c3b53ecfeb9839d52ab218d1f17821cda9099ece;hp=a7c7171094453c70f5b2f088014a03d834fbac8c;hpb=9ce5e069e32179ba8741c271962d96084b40dda6;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index a7c717109..cf80a1dd7 100644 --- 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 @@ -29,4 +38,5 @@ commands = flake8 scripts/ *.py commands = python {toxinidir}/check_prefix.py [testenv:robot] -commands = ./check_robot.sh +basepython = python3 +commands = python {toxinidir}/check_robot.py