X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fmdsal%2Fmdsal.yaml;h=e7d94b8c14405be7b5b764353815664caf0f7c51;hb=85ec5cecdd1e7290115692c297ae6b364b1a3dcf;hp=85713fb310289304c19a8a930866831823fdbdd1;hpb=d93ed9416e29f9080b00eea18284931de053837c;p=releng%2Fbuilder.git diff --git a/jjb/mdsal/mdsal.yaml b/jjb/mdsal/mdsal.yaml index 85713fb31..e7d94b8c1 100644 --- a/jjb/mdsal/mdsal.yaml +++ b/jjb/mdsal/mdsal.yaml @@ -1,300 +1,106 @@ -# REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW -# Otherwise this file will be automatically overwritten by the template -# autobuilder. - -# ODL Releng build templates - project: - name: mdsal + name: mdsal-carbon jobs: - - '{name}-clm-{stream}' - - '{name}-distribution-{stream}' - - '{name}-distribution-check-{stream}' - - '{name}-integration-{stream}' - - '{name}-periodic-{stream}' - - '{name}-validate-autorelease-{stream}' - - 'mdsal-verify-{stream}' - - 'mdsal-merge-{stream}' - - 'mdsal-sonar' - + - '{project-name}-clm-{stream}' + - '{project-name}-distribution-{stream}' + - '{project-name}-distribution-check-{stream}' + - '{project-name}-integration-{stream}' + - '{project-name}-merge-{stream}' + - '{project-name}-periodic-{stream}' + - '{project-name}-validate-autorelease-{stream}' + - '{project-name}-verify-{stream}-{maven}-{jdks}' - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) stream: - - boron: - branch: 'master' - jdk: openjdk8 - jdks: - - openjdk8 + - carbon: disable_autorelease: False disable_distribution_check: False - - beryllium: - branch: 'stable/beryllium' - jdk: openjdk7 - jdks: - - openjdk7 - - openjdk8 - disable_autorelease: False - disable_distribution_check: False - project: 'mdsal' + project-name: 'mdsal' + branch: 'master' + jdk: openjdk8 + jdks: + - openjdk8 + maven: + - mvn33: + mvn-version: 'mvn33' mvn-settings: 'mdsal-settings' - mvn-goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests' + mvn-goals: '-Dmaven.compile.fork=true clean install -Dintegrationtests' mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m' dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}' email-upstream: '[mdsal] [odlparent] [yangtools]' + archive-artifacts: '' -# For the Job templates below replace instances of: -# PROJECT_SHORTNAME with your project name (eg. circuitsw) -# PROJECT_PATH with your project name (eg. ofextensions/circuitsw) -# MAVEN_GOALS with your maven goals to build -# MAVEN_OPTS with your maven options to build - -- job-template: - name: 'mdsal-verify-{stream}' - - # Job template for ODL verify jobs - # - # The purpose of this job template is to setup a ODL verify job - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - 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: '14' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - scm: - - gerrit-trigger-scm: - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'mdsal' - branch: '{branch}' - - builders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' - - maven-target: - maven-version: '{mvn33}' - pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dstream={stream}' - java-opts: - - '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - findbugs - - email-notification: - email-prefix: '[mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-merge-{stream}' - - # Job template for ODL merge jobs - # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '14' - numToKeep: '10' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: - project: '{project}' - branch: '{branch}' - refspec: 'refs/heads/{branch}' - - scm: - - gerrit-trigger-scm: - refspec: '' - choosing-strategy: 'default' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 0' - - gerrit-trigger-patch-merged: - name: 'mdsal' - branch: '{branch}' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' +- project: + name: mdsal-boron + jobs: + - '{project-name}-clm-{stream}' + - '{project-name}-distribution-{stream}' + - '{project-name}-distribution-check-{stream}' + - '{project-name}-integration-{stream}' + - '{project-name}-merge-{stream}' + - '{project-name}-periodic-{stream}' + - '{project-name}-validate-autorelease-{stream}' + - '{project-name}-verify-{stream}-{maven}-{jdks}' + stream: + - boron: + disable_autorelease: False + disable_distribution_check: False + project: 'mdsal' + project-name: 'mdsal' + branch: 'stable/boron' + jdk: openjdk8 + jdks: + - openjdk8 maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dmerge -Dstream={stream}' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - post-step-run-condition: UNSTABLE - - postbuilders: - - conditional-step: - condition-kind: file-exists - condition-filename: deploy-site.xml - condition-basedir: workspace - - # The strategy here is intentional to run Maven site:deploy twice - # once using regular pom.xml to produce a staged-site which is - # then used by deploy-site.xml to push to Nexus. This is a - # workaround to Maven Site's default linking code which creates - # incorrect URLs for sites due to auto-detection assuming your - # project is configured in a certain way which ODL is not. - steps: - - maven-target: - maven-version: '{mvn33}' - pom: pom.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - maven-target: - maven-version: '{mvn33}' - pom: deploy-site.xml - goals: 'site:deploy -V -B -Dstream={stream}' - java-opts: - - '-Xmx2g' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - archive-artifacts: - artifacts: '**/target/surefire-reports/*-output.txt, ' - - email-notification: - email-prefix: '[mdsal]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - - archive-build: - maven-version: '{mvn33}' - -- job-template: - name: 'mdsal-sonar' - disabled: false - - project-type: maven - node: dynamic_verify - jdk: 'openjdk8' - - logrotate: - daysToKeep: '7' - numToKeep: '10' - artifactDaysToKeep: '1' - artifactNumToKeep: '1' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - refspec: '' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - name: 'mdsal' - - prebuilders: - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: 'odl-global-settings' - settings-file: 'mdsal-settings' + - mvn33: + mvn-version: 'mvn33' + mvn-settings: 'mdsal-settings' + mvn-goals: '-Dmaven.compile.fork=true clean install -Dintegrationtests' + mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m' + dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}' + email-upstream: '[mdsal] [odlparent] [yangtools]' + archive-artifacts: '' +- project: + name: mdsal-beryllium + jobs: + - '{project-name}-clm-{stream}' + - '{project-name}-distribution-{stream}' + - '{project-name}-distribution-check-{stream}' + - '{project-name}-integration-{stream}' + - '{project-name}-merge-{stream}' + - '{project-name}-periodic-{stream}' + - '{project-name}-validate-autorelease-{stream}' + - '{project-name}-verify-{stream}-{maven}-{jdks}' + stream: + - beryllium: + disable_autorelease: False + disable_distribution_check: False + project: 'mdsal' + project-name: 'mdsal' + branch: 'stable/beryllium' + jdk: openjdk7 + jdks: + - openjdk7 + - openjdk8 maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -V -B -Djenkins -Dsonar' - maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m' - settings: 'mdsal-settings' - settings-type: cfp - global-settings: 'odl-global-settings' - global-settings-type: cfp - - reporters: - - findbugs - - publishers: - - sonar: - language: 'java' - maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m' - - email-notification: - email-prefix: '[mdsal]' - - jacoco-report - - archive-build: - maven-version: '{mvn33}' + - mvn33: + mvn-version: 'mvn33' + mvn-settings: 'mdsal-settings' + mvn-goals: '-Dmaven.compile.fork=true clean install -Dintegrationtests' + mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m' + dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}' + email-upstream: '[mdsal] [odlparent] [yangtools]' + archive-artifacts: '' +- project: + name: mdsal-sonar + jobs: + - '{project-name}-sonar' + project: 'mdsal' + project-name: 'mdsal' + branch: 'master' + mvn-settings: 'mdsal-settings' + mvn-goals: '-Dmaven.compile.fork=true clean install -Dintegrationtests' + mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m'