X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fovsdb%2Fovsdb.yaml;h=a74cf3b3c9086a41f512dc7d013ea44004544cb6;hb=7073afe8850a2cb4ab1cd00025df67758b954d23;hp=e0d69bf0db67389e5e8409928be44fe280776444;hpb=414ce192c4285b63a25fbe0b488c31fb829be93e;p=releng%2Fbuilder.git diff --git a/jjb/ovsdb/ovsdb.yaml b/jjb/ovsdb/ovsdb.yaml index e0d69bf0d..a74cf3b3c 100644 --- a/jjb/ovsdb/ovsdb.yaml +++ b/jjb/ovsdb/ovsdb.yaml @@ -9,22 +9,55 @@ - 'ovsdb-verify-{stream}' - 'ovsdb-merge-{stream}' - 'ovsdb-daily-{stream}' + - 'ovsdb-distribution-{stream}' - 'ovsdb-integration-{stream}' + - 'ovsdb-clm-{stream}' - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) stream: - - master: + - clustering-netvirt-lithium: + branch: 'topic/lithium/net-virt-clustering' + jdk: openjdk7 + jdks: + - openjdk7 + - clustering-netvirt-master: + branch: 'topic/master/net-virt-clustering' + jdk: openjdk7 + jdks: + - openjdk7 + - neutron-yang-migration: + branch: 'topic/master/neutron-yang-migration' + jdk: openjdk7 + jdks: + - openjdk7 + - routermanager: + branch: 'topic/routermanager' + jdk: openjdk7 + jdks: + - openjdk7 + - beryllium: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 - stable-helium: branch: 'stable/helium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'ovsdb' - jdk: 'openjdk7' # For the Job templates below replace instances of: -# PROJECT with your project name (eg. controller) +# 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 @@ -36,8 +69,8 @@ # The purpose of this job template is to setup a ODL verify job # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: matrix node: matrix_master @@ -51,9 +84,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -76,7 +107,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: @@ -85,17 +117,21 @@ builders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' - maven-target: - maven-version: '{mvn32}' + maven-version: '{mvn33}' 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 -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' settings: '{ovsdb-settings}' global-settings: '{odl-global-settings}' - - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[ovsdb]' - jacoco-report @@ -109,8 +145,8 @@ # and deploy artifacts to Nexus. # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_merge @@ -135,7 +171,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -144,23 +181,54 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' 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 -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{ovsdb-settings}' global-settings: '{odl-global-settings}' + post-step-run-condition: UNSTABLE postbuilders: - - jacoco-nojava-workaround + - 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 -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{ovsdb-settings}' + global-settings: '{odl-global-settings}' + - maven-target: + maven-version: '{mvn33}' + pom: deploy-site.xml + goals: 'site:deploy -Dstream={stream}' + java-opts: + - '-Xmx2g' + settings: '{ovsdb-settings}' + global-settings: '{odl-global-settings}' reporters: - findbugs publishers: - - email-notification: email-prefix: '[ovsdb]' - maven-deploy: @@ -178,8 +246,8 @@ # builder and pushes to Sonar analysis. # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_verify @@ -204,25 +272,27 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' 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: '{ovsdb-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -231,18 +301,79 @@ email-prefix: '[ovsdb]' - jacoco-report +- job-template: + name: 'ovsdb-distribution-{stream}' + + # 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: '{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/distribution' + + 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 + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' + + 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: 'ovsdb-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) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_merge @@ -267,7 +398,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: @@ -276,18 +408,19 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' 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: '{ovsdb-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -296,3 +429,57 @@ email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]' - jacoco-report +- job-template: + name: 'ovsdb-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 + - provide-maven-settings: + global-settings-file: '{odl-global-settings}' + settings-file: '{ovsdb-settings}' + + 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' + maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' + settings: '{ovsdb-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: ovsdb + + publishers: + - email-notification: + email-prefix: '[ovsdb]' +