From: Thanh Ha Date: Thu, 8 Aug 2019 02:20:22 +0000 (-0400) Subject: Use --config-xml option for JJB archives X-Git-Tag: v0.41.0~5 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=655da4ff0ed3d23d6e01369dbb85d6efb5fcfd1c;p=releng%2Fglobal-jjb.git Use --config-xml option for JJB archives The --config-xml option will produce actual config xml files in the format 'job_name/config.xml' similar to the jobs directory in Jenkins master instead of creating generically named 'job_name' files. This allows the jobs to be dropped into a Jenkins jobs directory path and Jenkins will be able to pick it up. This is potentially useful for the ability to quickly drop in the config into a Jenkins test environment. Signed-off-by: Thanh Ha Change-Id: I59517d905a2448e46c50d98a471e10d7ca0fb808 --- diff --git a/shell/jjb-verify-job.sh b/shell/jjb-verify-job.sh index a1e76c9f..c42438e9 100644 --- a/shell/jjb-verify-job.sh +++ b/shell/jjb-verify-job.sh @@ -13,7 +13,7 @@ echo "---> jjb-verify-job.sh" # Ensure we fail the job if any steps fail. set -eu -o pipefail -jenkins-jobs -l DEBUG test --recursive -o archives/job-configs jjb/ +jenkins-jobs -l DEBUG test --recursive -o archives/job-configs --config-xml jjb/ # Sort job output into sub-directories. On large Jenkins systems that have # many jobs archiving so many files into the same directory makes NGINX return