X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fl2switch%2Fl2switch.yaml;h=db204ae30260df6b882100f6f11fdf7de1b9d30c;hb=eee0a9a1a1ed3590af566a8c14d273c57634364b;hp=73d60f17794524bb39d304ea904b3fa3b5270318;hpb=f1c447d2e43c59a2587e83d288b1d35741b16a2f;p=releng%2Fbuilder.git diff --git a/jjb/l2switch/l2switch.yaml b/jjb/l2switch/l2switch.yaml index 73d60f1779..db204ae302 100644 --- a/jjb/l2switch/l2switch.yaml +++ b/jjb/l2switch/l2switch.yaml @@ -8,7 +8,7 @@ jobs: - 'l2switch-verify-{stream}' - 'l2switch-merge-{stream}' - - 'l2switch-daily-{stream}' + - 'l2switch-periodic-{stream}' - 'l2switch-distribution-{stream}' - 'l2switch-integration-{stream}' - 'l2switch-sonar' @@ -19,20 +19,19 @@ # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - - beryllium: + - boron: branch: 'master' - jdk: openjdk7 + jdk: openjdk8 jdks: - - openjdk7 - openjdk8 disable_autorelease: False - - pre-boron: - branch: 'pre-boron' + - beryllium: + branch: 'stable/beryllium' jdk: openjdk7 jdks: - openjdk7 - openjdk8 - disable_autorelease: True + disable_autorelease: False - stable-lithium: branch: 'stable/lithium' jdk: openjdk7 @@ -148,8 +147,8 @@ jdk: '{jdk}' logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' + daysToKeep: '14' + numToKeep: '10' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' @@ -174,6 +173,7 @@ - '{ssh-credentials}' triggers: + - timed: 'H H * * 0' - gerrit-trigger-patch-merged: name: 'l2switch' branch: '{branch}' @@ -228,6 +228,8 @@ - findbugs publishers: + - archive-artifacts: + artifacts: '**/target/surefire-reports/*-output.txt, ' - email-notification: email-prefix: '[l2switch]' - maven-deploy: @@ -237,12 +239,13 @@ - jacoco-report - job-template: - name: 'l2switch-daily-{stream}' + name: 'l2switch-periodic-{stream}' + disabled: false - # Job template for daily builders + # Job template for periodic builders # - # The purpose of this job template is to setup a daily/nightly - # builder and pushes to Sonar analysis. + # The purpose of this job template is to setup a periodic + # builder. # # Required Variables: # stream: release stream (eg. stable-lithium or beryllium) @@ -253,8 +256,8 @@ jdk: '{jdk}' logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' + daysToKeep: '14' + numToKeep: '10' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' @@ -275,7 +278,7 @@ - '{ssh-credentials}' triggers: - - timed: 'H H * * 7' + - timed: '@daily' prebuilders: - wipe-org-opendaylight-repo @@ -430,10 +433,11 @@ - job-template: name: 'l2switch-sonar' + disabled: false project-type: maven node: dynamic_verify - jdk: 'openjdk7' + jdk: 'openjdk8' logrotate: daysToKeep: '7' @@ -490,6 +494,7 @@ - job-template: name: 'l2switch-clm-{stream}' + disabled: false project-type: maven node: dynamic_verify @@ -529,12 +534,13 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -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}' postbuilders: + - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - check-clm: application-name: l2switch