X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=3fd449bfab4441f66dd4441b7fc5b4e846081422;hb=35e99080fa7e41ae29e04a5868297767a429440e;hp=ad3eb318862cd1cc2fe2b1778348254eac2b07cd;hpb=815039214eeb1f02d03d6e0ea44f4b656fe439c7;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index ad3eb3188..3fd449bfa 100644 --- a/tox.ini +++ b/tox.ini @@ -21,13 +21,22 @@ 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.2.1} +commands = + jenkins-jobs {posargs:--help} + +[testenv:jjb-version] +commands = python {toxinidir}/check_jjb_version.py + [testenv:pep8] deps = flake8 -commands = flake8 scripts/ +commands = flake8 scripts/ *.py [testenv:prefix] -commands = ./check_prefix.sh +commands = python {toxinidir}/check_prefix.py [testenv:robot] -commands = ./check_robot.sh - +basepython = python3 +commands = python {toxinidir}/check_robot.py