X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fiotdm%2Fiotdm.yaml;h=2b4233fab3e36260180305f3be3ce2fa1053f58d;hb=eee0a9a1a1ed3590af566a8c14d273c57634364b;hp=2c0cdb5dc5570a9fd2f0009dea7cd4a06d3e4483;hpb=bf094e9275e01b52b4999de1325810f863194651;p=releng%2Fbuilder.git diff --git a/jjb/iotdm/iotdm.yaml b/jjb/iotdm/iotdm.yaml index 2c0cdb5dc..2b4233fab 100644 --- a/jjb/iotdm/iotdm.yaml +++ b/jjb/iotdm/iotdm.yaml @@ -8,7 +8,7 @@ jobs: - 'iotdm-verify-{stream}' - 'iotdm-merge-{stream}' - - 'iotdm-daily-{stream}' + - 'iotdm-periodic-{stream}' - 'iotdm-distribution-{stream}' - 'iotdm-integration-{stream}' - 'iotdm-sonar' @@ -19,13 +19,19 @@ # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - - beryllium: + - boron: branch: 'master' + jdk: openjdk8 + jdks: + - openjdk8 + disable_autorelease: False + - beryllium: + branch: 'stable/beryllium' jdk: openjdk7 jdks: - openjdk7 - openjdk8 - disable_autorelease: True + disable_autorelease: False - stable-lithium: branch: 'stable/lithium' jdk: openjdk7 @@ -78,6 +84,8 @@ project: '{project}' - gerrit-parameter: branch: '{branch}' + - gerrit-refspec-parameter: + refspec: 'refs/heads/{branch}' scm: - gerrit-trigger-scm: @@ -105,7 +113,7 @@ - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' settings: '{iotdm-settings}' @@ -134,14 +142,18 @@ 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}' parameters: - project-parameter: project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - gerrit-refspec-parameter: + refspec: 'refs/heads/{branch}' scm: - gerrit-trigger-scm: @@ -156,6 +168,7 @@ - '{ssh-credentials}' triggers: + - timed: 'H H * * 0' - gerrit-trigger-patch-merged: name: 'iotdm' branch: '{branch}' @@ -170,7 +183,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{iotdm-settings}' global-settings: '{odl-global-settings}' @@ -210,6 +223,8 @@ - findbugs publishers: + - archive-artifacts: + artifacts: '**/target/surefire-reports/*-output.txt, ' - email-notification: email-prefix: '[iotdm]' - maven-deploy: @@ -219,12 +234,13 @@ - jacoco-report - job-template: - name: 'iotdm-daily-{stream}' + name: 'iotdm-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) @@ -235,8 +251,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}' @@ -257,7 +273,7 @@ - '{ssh-credentials}' triggers: - - timed: 'H H * * *' + - timed: '@daily' prebuilders: - wipe-org-opendaylight-repo @@ -269,7 +285,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{iotdm-settings}' global-settings: '{odl-global-settings}' @@ -329,7 +345,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install' + goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: '{integration-settings}' global-settings: '{odl-global-settings}' @@ -397,7 +413,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{iotdm-settings}' global-settings: '{odl-global-settings}' @@ -412,10 +428,11 @@ - job-template: name: 'iotdm-sonar' + disabled: false project-type: maven node: dynamic_verify - jdk: 'openjdk7' + jdk: 'openjdk8' logrotate: daysToKeep: '7' @@ -440,7 +457,7 @@ - '{ssh-credentials}' triggers: - - timed: 'H H * * *' + - timed: '@weekly' - gerrit-trigger-patch-sonar: name: 'iotdm' @@ -454,7 +471,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{iotdm-settings}' global-settings: '{odl-global-settings}' @@ -472,6 +489,7 @@ - job-template: name: 'iotdm-clm-{stream}' + disabled: false project-type: maven node: dynamic_verify @@ -511,12 +529,13 @@ 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 -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' settings: '{iotdm-settings}' global-settings: '{odl-global-settings}' postbuilders: + - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' - check-clm: application-name: iotdm @@ -568,9 +587,26 @@ - '{ssh-credentials}' triggers: - - gerrit-trigger-patch-submitted: - name: 'iotdm' - 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: 'iotdm' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' prebuilders: - wipe-org-opendaylight-repo @@ -581,7 +617,7 @@ - maven-target: maven-version: '{mvn33}' pom: validate-pom.xml - goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' java-opts: - '-Xmx8g' settings: '{autorelease-settings}' @@ -590,7 +626,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' settings: '{autorelease-settings}' global-settings: '{odl-global-settings}'