From: Thanh Ha Date: Tue, 12 Jun 2018 01:32:08 +0000 (-0400) Subject: Use include-regions to limit JenkinsCFG build path X-Git-Tag: v0.21.0~8^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F11188%2F2;p=releng%2Fglobal-jjb.git Use include-regions to limit JenkinsCFG build path Issue: RELENG-1022 Change-Id: I0682fcdcc90e94b7f0f7752eea6fbff8125845a4 Signed-off-by: Thanh Ha --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 668342a3..2b6ab3af 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -293,8 +293,12 @@ comment-contains-value: remerge$ gerrit_trigger_file_paths: - - compare-type: ANT - pattern: 'jenkins-config/**' + - compare-type: REG_EXP + pattern: 'jenkins-config\/.*' + + # github_included_regions MUST match gerrit_trigger_file_paths + github_included_regions: + - 'jenkins-config\/.*' ##################### # Job Configuration # @@ -382,16 +386,17 @@ - github - pollscm: cron: '' - - lf-infra-github-pr-trigger: + - github-pull-request: trigger-phrase: '^remerge$' only-trigger-phrase: true status-context: 'Jenkins CFG Merge' permit-all: false github-hooks: true - github-org: '{github-org}' - github_pr_whitelist: '{obj:github_pr_whitelist}' - github_pr_admin_list: '{obj:github_pr_admin_list}' - + org-list: + - '{github-org}' + white-list: '{obj:github_pr_whitelist}' + admin-list: '{obj:github_pr_admin_list}' + included-regions: '{obj:github_included_regions}' ################## # JJB DEPLOY JOB #