X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ftopoprocessing%2Ftopoprocessing.yaml;h=e30e378589da16bedf931696e717522e95884574;hb=bc254cc10bd95cb176b303d4c25b339220b15806;hp=e4b6508cb5821d0a55536dbb9a15d78dea3088df;hpb=5fc6692a7cf22d91576120231339492816e7ac1c;p=releng%2Fbuilder.git diff --git a/jjb/topoprocessing/topoprocessing.yaml b/jjb/topoprocessing/topoprocessing.yaml index e4b6508cb..e30e37858 100644 --- a/jjb/topoprocessing/topoprocessing.yaml +++ b/jjb/topoprocessing/topoprocessing.yaml @@ -9,17 +9,29 @@ - 'topoprocessing-verify-{stream}' - 'topoprocessing-merge-{stream}' - 'topoprocessing-daily-{stream}' + - 'topoprocessing-distribution-{stream}' - 'topoprocessing-integration-{stream}' - 'topoprocessing-sonar' + - 'topoprocessing-clm-{stream}' + # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - openjdk8 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 + - openjdk8 project: 'topoprocessing' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -37,10 +49,19 @@ # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) - project-type: maven - node: dynamic_verify + project-type: matrix + node: matrix_master concurrent: true - jdk: '{jdk}' + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -63,26 +84,28 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: name: 'topoprocessing' branch: '{branch}' - prebuilders: + builders: - wipe-org-opendaylight-repo - - maven: - maven-name: '{mvn32}' - root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{topoprocessing-settings}' - global-settings: '{odl-global-settings}' - ignore-upstream-changes: true + - jacoco-nojava-workaround + - 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 ' + java-opts: + - '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{topoprocessing-settings}' + global-settings: '{odl-global-settings}' publishers: + - findbugs - email-notification: email-prefix: '[topoprocessing]' - jacoco-report @@ -122,7 +145,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -131,17 +155,20 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{topoprocessing-settings}' global-settings: '{odl-global-settings}' + reporters: + - findbugs + publishers: - - email-notification: email-prefix: '[topoprocessing]' - maven-deploy: @@ -185,35 +212,94 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{topoprocessing-settings}' global-settings: '{odl-global-settings}' + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[topoprocessing]' - jacoco-report +- job-template: + name: 'topoprocessing-distribution-{stream}' + + project-type: maven + node: dynamic_merge + jdk: '{jdk}' + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - reverse: + jobs: '{project}-merge-{stream}' + result: 'success' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn33}' + root-pom: 'pom.xml' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + settings: '{integration-settings}' + global-settings: '{odl-global-settings}' + + publishers: + - email-notification: + email-prefix: '[{project}]' + - maven-deploy: + id: '' + unique-version: true + deploy-unstable: false + - job-template: name: 'topoprocessing-integration-{stream}' disabled: false - # Job template for ODL merge jobs + # Job template for ODL integration verify jobs # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. + # This is similar to a normal verify job, but it runs + # when a project that's a dependency of your project + # is successfully built. # # Required Variables: # stream: branch with - in place of / (eg. stable-helium) @@ -242,7 +328,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: @@ -251,22 +338,22 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{topoprocessing-settings}' global-settings: '{odl-global-settings}' + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - jacoco-report - job-template: @@ -274,7 +361,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -295,19 +382,29 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' + - gerrit-trigger-patch-sonar: + name: 'topoprocessing' + + prebuilders: + - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + 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' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{topoprocessing-settings}' global-settings: '{odl-global-settings}' + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -315,3 +412,55 @@ - email-notification: email-prefix: '[topoprocessing]' - jacoco-report + +- job-template: + name: 'topoprocessing-clm-{stream}' + + project-type: maven + node: dynamic_verify + jdk: '{jdk}' + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '@weekly' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn33}' + root-pom: 'pom.xml' + goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' + settings: '{topoprocessing-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: topoprocessing + + publishers: + - email-notification: + email-prefix: '[topoprocessing]' +