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:
parent
753837e3bd
commit
997f239a9d
8
tox.ini
8
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user