From: Jessica Wagantall Date: Thu, 11 Jan 2018 20:25:34 +0000 (-0800) Subject: Add Gerrit trigger to clm job X-Git-Tag: v0.15.0~21 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=25d3bb45eaf1e25522b680cac541416a59e65085;p=releng%2Fglobal-jjb.git Add Gerrit trigger to clm job Add Gerrit trigger on comment "run-clm" for Gerrit and Github clm jobs. Change-Id: I220bc93e147d278fab09420cabf7c14feb874b97 Signed-off-by: Jessica Wagantall --- diff --git a/.jjb-test/expected-xml/gerrit-maven-maven-clm-master b/.jjb-test/expected-xml/gerrit-maven-maven-clm-master index e028a8a0..e0296668 100644 --- a/.jjb-test/expected-xml/gerrit-maven-maven-clm-master +++ b/.jjb-test/expected-xml/gerrit-maven-maven-clm-master @@ -157,6 +157,51 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'. H H * * 6 + + + + + ANT + releng/ciman + + + ANT + **/master + + + false + + + + true + true + true + true + + false + false + true + false + false + + + False + + false + + + run-clm$ + + + + + + + + + + test-server + diff --git a/.jjb-test/expected-xml/github-maven-maven-clm-master b/.jjb-test/expected-xml/github-maven-maven-clm-master index ddd663c5..ca73ec3d 100644 --- a/.jjb-test/expected-xml/github-maven-maven-clm-master +++ b/.jjb-test/expected-xml/github-maven-maven-clm-master @@ -149,9 +149,24 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'. - - H H * * 6 - + + + + false + + + + ^run-clm$ + false + true + true + false + + + CLM + + + diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 8d4d837b..47c25556 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -115,6 +115,10 @@ stream: master submodule-recursive: true + gerrit_clm_triggers: + - comment-added-contains-event: + comment-contains-value: run-clm$ + ##################### # Job Configuration # ##################### @@ -122,6 +126,20 @@ triggers: # Build weekly on Saturdays - timed: 'H H * * 6' + - gerrit: + server-name: '{gerrit-server-name}' + trigger-on: '{obj:gerrit_clm_triggers}' + projects: + - project-compare-type: ANT + project-pattern: '{project}' + branches: + - branch-compare-type: ANT + branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true builders: - lf-maven-install: @@ -173,6 +191,19 @@ choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' + triggers: + - lf-infra-github-pr-trigger: + trigger-phrase: '^run-clm$' + only-trigger-phrase: false + status-context: 'CLM' + permit-all: true + github-hooks: true + github-org: '' + github_pr_whitelist: + - '' + github_pr_admin_list: + - '' + ######################### # Maven Javadoc Publish # #########################