X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fl2switch%2Fl2switch.yaml;h=0c01c9b2eb86be6fcf1bc7ce890f7cbf3bce0120;hb=dc898913673af20cf42e4b7d986cf3fc2e49962c;hp=eb1dcbcc6f2f43889191a268ddd662dedcb7e0e7;hpb=fd693352c87910bfaf69db31d0603f15c679df66;p=releng%2Fbuilder.git diff --git a/jjb/l2switch/l2switch.yaml b/jjb/l2switch/l2switch.yaml index eb1dcbcc6..0c01c9b2e 100644 --- a/jjb/l2switch/l2switch.yaml +++ b/jjb/l2switch/l2switch.yaml @@ -90,6 +90,8 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' + - gerrit-refspec-parameter: + refspec: 'refs/heads/{branch}' scm: - gerrit-trigger-scm: @@ -154,6 +156,10 @@ parameters: - project-parameter: project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - gerrit-refspec-parameter: + refspec: 'refs/heads/{branch}' scm: - gerrit-trigger-scm: @@ -269,7 +275,7 @@ - '{ssh-credentials}' triggers: - - timed: 'H H * * *' + - timed: 'H H * * 7' prebuilders: - wipe-org-opendaylight-repo @@ -452,7 +458,7 @@ - '{ssh-credentials}' triggers: - - timed: 'H H * * *' + - timed: '@weekly' - gerrit-trigger-patch-sonar: name: 'l2switch' @@ -523,7 +529,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' settings: '{l2switch-settings}' global-settings: '{odl-global-settings}' @@ -580,9 +586,26 @@ - '{ssh-credentials}' triggers: - - gerrit-trigger-patch-submitted: - name: 'l2switch' - branch: '{branch}' + - gerrit: + server-name: 'OpenDaylight' + trigger-on: + - patchset-created-event: + exclude-drafts: 'false' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'false' + - draft-published-event + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' + - comment-added-contains-event: + comment-contains-value: 'revalidate' + projects: + - project-compare-type: 'ANT' + project-pattern: 'l2switch' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' prebuilders: - wipe-org-opendaylight-repo