Simplify the process of updating the expected-xml by adding a command to
tox.
Change-Id: I02a9f07272baab3fd0dd4407cdb0afb3ffd6e3c7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
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 =
[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
+