]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-build-pull-requests: pass --config-xml to "jenkins-jobs test" 1392/head
authorKefu Chai <kchai@redhat.com>
Sat, 7 Sep 2019 17:59:09 +0000 (01:59 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 7 Sep 2019 18:11:28 +0000 (02:11 +0800)
commit87610b063d64f56836708ff567e3493d584c413e
treebbb11b6e8c84749ad5864453188f15c6e4615e4a
parent71591bda77a0178cb71e1e9e6ae32f9a32a71612
ceph-build-pull-requests: pass --config-xml to "jenkins-jobs test"

to silence warnings like

WARNING:jenkins_jobs.cli.subcommand.test:(Deprecated) The default output
behavior of `jenkins-jobs test` when given the --output flag will change
in JJB 3.0. Instead of writing jobs to OUTPUT/jobname; they will be
written to OUTPUT/jobname/config.xml. The new behavior can be enabled by
the passing `--config-xml` parameter.

also redirect the test result to /dev/null, otherwise the test will fail
because the output directory may already exist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build-pull-requests/build/build