X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fttp%2Fttp.yaml;h=fe01bff7392712e1f83f56386d36d5a863f80497;hb=bd9ff34abcff2d81368ab939d57535a391c9432a;hp=f686a7e53fe275ac4f40596212827c405d37efda;hpb=f0eb1df1b40ac91e0aa563f2a1cdda029f52be27;p=releng%2Fbuilder.git diff --git a/jjb/ttp/ttp.yaml b/jjb/ttp/ttp.yaml index f686a7e53..fe01bff73 100644 --- a/jjb/ttp/ttp.yaml +++ b/jjb/ttp/ttp.yaml @@ -9,14 +9,30 @@ - 'ttp-verify-{stream}' - 'ttp-merge-{stream}' - 'ttp-daily-{stream}' + - 'ttp-distribution-{stream}' + - 'ttp-integration-{stream}' + - 'ttp-sonar' + - 'ttp-clm' + # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 - stable-helium: branch: 'stable/helium' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'ttp' @@ -36,8 +52,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 + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -58,26 +85,33 @@ choosing-strategy: 'gerrit' wrappers: + - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: name: 'ttp' branch: '{branch}' - maven: - maven-name: '{mvn32}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{ttp-settings}' - global-settings: '{odl-global-settings}' - ignore-upstream-changes: false + builders: + - wipe-org-opendaylight-repo + - maven-target: + maven-version: '{mvn32}' + 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: '{ttp-settings}' + global-settings: '{odl-global-settings}' + - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[ttp]' + - jacoco-report - job-template: name: 'ttp-merge-{stream}' @@ -93,6 +127,7 @@ project-type: maven node: dynamic_merge + jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -111,22 +146,33 @@ choosing-strategy: 'default' wrappers: + - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: name: 'ttp' branch: '{branch}' + prebuilders: + - wipe-org-opendaylight-repo + maven: maven-name: '{mvn32}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{ttp-settings}' global-settings: '{odl-global-settings}' + postbuilders: + - jacoco-nojava-workaround + + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[ttp]' @@ -134,6 +180,7 @@ id: '' unique-version: true deploy-unstable: false + - jacoco-report - job-template: name: 'ttp-daily-{stream}' @@ -149,6 +196,7 @@ project-type: maven node: dynamic_verify + jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -167,24 +215,258 @@ branch: '{branch}' wrappers: + - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' + prebuilders: + - wipe-org-opendaylight-repo + maven: maven-name: '{mvn32}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{ttp-settings}' global-settings: '{odl-global-settings}' + postbuilders: + - jacoco-nojava-workaround + + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[ttp]' + - jacoco-report + +- job-template: + name: 'ttp-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: '{mvn32}' + root-pom: 'pom.xml' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar' + 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: 'ttp-integration-{stream}' + disabled: false + + # Job template for ODL integration verify jobs + # + # 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) + # branch: branch (eg. stable/helium) + + 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: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - reverse: + jobs: 'odlparent-merge-{stream}' + result: 'success' + + prebuilders: + - 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 source:jar javadoc:jar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{ttp-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - jacoco-nojava-workaround + + reporters: + - findbugs + + publishers: + - email-notification: + email-prefix: '[ttp] [odlparent]' + - jacoco-report + +- job-template: + name: 'ttp-sonar' + + project-type: maven + node: dynamic_verify + jdk: 'openjdk7' + + logrotate: + daysToKeep: '7' + numToKeep: '10' + artifactDaysToKeep: '1' + artifactNumToKeep: '1' + + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: 'master' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: 'H H * * *' + + 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 -Dsonar' + maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{ttp-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - jacoco-nojava-workaround + + reporters: + - findbugs + + publishers: - sonar: - branch: '{stream}' language: 'java' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' + maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' + - email-notification: + email-prefix: '[ttp]' + - jacoco-report + +- job-template: + name: 'ttp-clm' + + project-type: maven + node: dynamic_verify + jdk: 'openjdk7' + + 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: 'master' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '@weekly' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn32}' + 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: '{ttp-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: ttp + + publishers: + - email-notification: + email-prefix: '[ttp]' +