From 334d6e2906736244da93122c82e8beda632c6234 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 9 May 2018 11:35:58 +1000 Subject: [PATCH] Use --jobs-only option with jjb-deploy JJB 2.0.3 implementation allows views to be managed by code. The default behaviour is to update the job along with all the views in the repository. This takes a longer if the project has many views managed by code. Therefore, use the flag --jobs-only to updated on a given job in sandbox. Change-Id: Ifaaf60f3479e7485e1dbb5618c6cbcce31525278 Signed-off-by: Anil Belur --- shell/jjb-deploy-job.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/jjb-deploy-job.sh b/shell/jjb-deploy-job.sh index 3db95062..771f17b4 100644 --- a/shell/jjb-deploy-job.sh +++ b/shell/jjb-deploy-job.sh @@ -32,4 +32,4 @@ if [ -z "${JOB_NAME//\*/}" ]; then exit 1 fi -jenkins-jobs update --recursive --workers 4 jjb/ "$JOB_NAME" +jenkins-jobs update --jobs-only --recursive --workers 4 jjb/ "$JOB_NAME" -- 2.16.6