ab7c6bc6c1
Move test.sh to the tools directory. Move parameters and notifications to their own modules; even though they are implemented as Jenkins properties, they make more sense as separate entities in the job builder, because that's they way they are specified in the YAML. All three modules that touch the properties xml object know how to create it if it's missing. Change-Id: I4b42ff10a93fd3ed98f632b58e47f3e0e45086d6 Reviewed-on: https://review.openstack.org/12741 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
27 lines
592 B
INI
27 lines
592 B
INI
[tox]
|
|
envlist = pep8, pyflakes
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
|
|
[testenv:pep8]
|
|
deps = pep8==1.2
|
|
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build .
|
|
|
|
[testenv:pyflakes]
|
|
deps = pyflakes
|
|
commands = pyflakes jenkins_jobs jenkins-jobs setup.py
|
|
|
|
[testenv:compare-xml-old]
|
|
commands = ./jenkins-jobs test -o .test/old/out/ .test/old/config/
|
|
|
|
[testenv:compare-xml-new]
|
|
commands = ./jenkins-jobs test -o .test/new/out/ .test/new/config/
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|