X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=98bc7143a3f1c5c91cbcc59a715bcd68b52a9981;hb=73ee59e070520755f0d79a45481baaeada49f29b;hp=349ad64e18779263391b6f1f95c68358cecffc00;hpb=00d1d5eda276c8cf5f03b000bf6df8e9656080e5;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 349ad64e..98bc7143 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -834,6 +834,14 @@ - comment-added-contains-event: comment-contains-value: stage-release$ + gerrit_trigger_file_paths: + - compare-type: ANT + pattern: '**' + + # github_included_regions MUST match gerrit_trigger_file_paths + github_included_regions: + - '.*' + ##################### # Job Configuration # ##################### @@ -925,6 +933,7 @@ branches: - branch-compare-type: ANT branch-pattern: '**/{branch}' + file-paths: '{obj:gerrit_trigger_file_paths}' - job-template: name: '{project-name}-maven-stage-{stream}' @@ -960,6 +969,7 @@ github-hooks: true white-list-target-branches: - '{branch}' + included-regions: '{obj:github_included_regions}' ########################## # Maven Stage for Docker # @@ -1033,6 +1043,7 @@ branches: - branch-compare-type: ANT branch-pattern: '**/{branch}' + file-paths: '{obj:gerrit_trigger_file_paths}' - job-template: name: '{project-name}-maven-docker-stage-{stream}' @@ -1070,6 +1081,7 @@ github-hooks: true white-list-target-branches: - '{branch}' + included-regions: '{obj:github_included_regions}' ############### # Maven Sonar #