Add tox env for testing jenkins-job-builder

This does not perform all of the same tests as the check job for this
repo, but it does make it easy to run basic jenkins-job-builder tests.

Change-Id: I1a52deb2258801fa1863e7c57108de2ecaac324f
This commit is contained in:
Doug Hellmann 2014-03-28 08:02:39 -07:00
parent 753837e3bd
commit 997f239a9d

View File

@ -23,3 +23,11 @@ commands = python modules/accessbot/files/checkaccess.py -l modules/openstack_pr
show-source = True
exclude = .tox
ignore = E125,H
[testenv:jjb]
basepython = python2.7
deps = jenkins-job-builder
commands =
rm -rf {envdir}/tmp
mkdir -p {envdir}/tmp
jenkins-jobs -l debug test -o {envdir}/tmp modules/openstack_project/files/jenkins_job_builder/config