From 655da4ff0ed3d23d6e01369dbb85d6efb5fcfd1c Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 7 Aug 2019 22:20:22 -0400 Subject: [PATCH] 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 --- shell/jjb-verify-job.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6