From 997f239a9d6bff87703447a26d20a0d085223f47 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 28 Mar 2014 08:02:39 -0700 Subject: [PATCH] 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 --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 0e815475bc..e67270ad56 100644 --- a/tox.ini +++ b/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