From: Thanh Ha Date: Thu, 31 Aug 2017 21:43:32 +0000 (-0400) Subject: Add update-expected-xml call X-Git-Tag: v0.8.0~2^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=f48fc39db434302488d0197d916cbbe0a7f61768;p=releng%2Fglobal-jjb.git Add update-expected-xml call Simplify the process of updating the expected-xml by adding a command to tox. Change-Id: I02a9f07272baab3fd0dd4407cdb0afb3ffd6e3c7 Signed-off-by: Thanh Ha --- diff --git a/tox.ini b/tox.ini index a6d47a86..d5b6baec 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ commands = deps = jenkins-job-builder commands = - jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}:.jjb-test + jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test [testenv:jjb-compare-xml] deps = @@ -31,3 +31,10 @@ commands = [testenv:license] deps = lftools commands = lftools license check-dir -r '.+' shell + +[testenv:update-expected-xml] +deps = + jenkins-job-builder +commands = + jenkins-jobs test --recursive -o {toxinidir}/.jjb-test/expected-xml {toxinidir}/jjb:{toxinidir}/.jjb-test +