From: Thanh Ha Date: Wed, 9 Aug 2017 23:24:01 +0000 (-0400) Subject: Exclude the jjb-test directory X-Git-Tag: v0.7.0~18 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F5821%2F2;p=releng%2Fglobal-jjb.git Exclude the jjb-test directory When running jenkins-jobs we should exclude the jjb-test directory. That way global-jjb can maintain tests in that directory while not affecting users of global-jjb's tests jobs from picking up the tests. Change-Id: I5101e4627291817d5cf9538f85a9f3db3e6d7b28 Signed-off-by: Thanh Ha --- diff --git a/shell/jjb-merge-job.sh b/shell/jjb-merge-job.sh index 090e9153..8c54b623 100644 --- a/shell/jjb-merge-job.sh +++ b/shell/jjb-merge-job.sh @@ -13,4 +13,4 @@ echo "---> jjb-merge-job.sh" # Ensure we fail the job if any steps fail. set -eu -o pipefail -jenkins-jobs update --recursive --delete-old --workers 4 jjb/ +jenkins-jobs update --recursive --delete-old --workers 4 --exclude jjb-test jjb diff --git a/shell/jjb-verify-job.sh b/shell/jjb-verify-job.sh index f38685f2..789ffde2 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 --exclude jjb-test 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