X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fovsdb%2Fovsdb-full-integration.yaml;h=964df38dd258efea6c93ccd61ec2def6b2c0f81d;hb=735b5888b8d82eab624a6a0be41456834fded048;hp=cb9360cee75e688f43114404f2333be514d49e11;hpb=1cdb24cd5633315baa263394530fbcfad912f221;p=releng%2Fbuilder.git diff --git a/jjb/ovsdb/ovsdb-full-integration.yaml b/jjb/ovsdb/ovsdb-full-integration.yaml index cb9360cee..7fe777dc1 100644 --- a/jjb/ovsdb/ovsdb-full-integration.yaml +++ b/jjb/ovsdb/ovsdb-full-integration.yaml @@ -6,18 +6,101 @@ # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - - beryllium: + - carbon: branch: 'master' jdk: openjdk8 jdks: - openjdk8 - - stable-lithium: - branch: 'stable/lithium' + - boron: + branch: 'stable/boron' + jdk: openjdk8 + jdks: + - openjdk8 + - beryllium: + branch: 'stable/beryllium' jdk: openjdk8 jdks: - openjdk8 project: 'ovsdb' + archive-artifacts: '*.log' + +- builder: + name: ovsdb-run-it + builders: + - maven-target: + maven-version: '{maven-version}' + pom: '{pomFile}' + goals: '-V -B verify -l {logfile} -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}' + properties: + - 'ovsdbserver.ipaddress=127.0.0.1' + - 'ovsdbserver.port=6641' + - 'ovsdb.userspace.enabled=yes' + - 'maven.repo.local=/tmp/r' + - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r' + - 'stream={stream}' + java-opts: + - '-Xmx1024m -XX:MaxPermSize=256m' + settings: 'ovsdb-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + +- builder: + name: run-library-it + builders: + - ovsdb-run-it: + maven-version: '{maven-version}' + stream: '{stream}' + pomFile: 'library/it/pom.xml' + logfile: '{OVS_VERSION}-libraryIT.log' + +- builder: + name: run-southbound-it + builders: + - ovsdb-run-it: + maven-version: '{maven-version}' + stream: '{stream}' + pomFile: 'southbound/southbound-it/pom.xml' + logfile: '{OVS_VERSION}-southboundIT.log' + +- builder: + name: run-hwvtepsouthbound-it + builders: + - ovsdb-run-it: + maven-version: '{maven-version}' + stream: '{stream}' + pomFile: 'hwvtepsouthbound/hwvtepsouthbound-it/pom.xml' + logfile: '{OVS_VERSION}-hwvtepsouthboundIT.log' + +- builder: + name: run-ovsdb-it + builders: + - inject: + properties-content: OVS_VERSION={OVS_VERSION} + - shell: + !include-raw-escape: + - include-raw-setup-docker.sh + - inject: + properties-file: env.properties + - run-southbound-it: + OVS_VERSION: '{OVS_VERSION}' + maven-version: '{maven-version}' + stream: '{stream}' + - shell: + !include-raw-escape: + - include-setup-hwvtep-docker.sh + - run-library-it: + OVS_VERSION: '{OVS_VERSION}' + maven-version: '{maven-version}' + stream: '{stream}' + - run-hwvtepsouthbound-it: + OVS_VERSION: '{OVS_VERSION}' + maven-version: '{maven-version}' + stream: '{stream}' + - shell: + !include-raw-escape: + - include-raw-cleanup-docker.sh - job-template: name: 'ovsdb-daily-full-integration-{stream}' @@ -26,45 +109,10 @@ # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) - project-type: matrix - node: matrix_master + project-type: freestyle + node: centos7-docker-2c-4g + jdk: '{jdk}' description: 'Integration tests for the OVSDB project against different versions of OVS and branches. This job runs nightly. ' - execution-strategy: - sequential: true - - axes: - - axis: - type: user-defined - name: 'OVS_VERSION' - values: - - 1.4.6 - - 1.5.0 - - 1.6.1 - - 1.7.0 - - 1.7.1 - - 1.7.3 - - 1.9.0 - - 1.9.3 - - 1.10.0 - - 1.10.2 - - 1.11.0 - - 2.0.0 - - 2.0.1 - - 2.1.0 - - 2.1.1 - - 2.1.2 - - 2.3.0 - - 2.3.1 - - 2.3.2 - - axis: - type: jdk - values: - - openjdk8 - - axis: - type: slave - name: nodes - values: - - dynamic_docker logrotate: daysToKeep: '{build-days-to-keep}' @@ -73,57 +121,69 @@ artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - - project-parameter: + - opendaylight-infra-parameters: project: '{project}' - - gerrit-parameter: branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' branch: '{branch}' + choosing-strategy: gerrit wrappers: - - timeout: - fail: true - timeout: 360 - timeout-var: 'BUILD_TIMEOUT' - type: absolute - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - timed: '@midnight' + - gerrit: + server-name: 'OpenDaylight' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'runit' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true builders: - wipe-org-opendaylight-repo - - shell: - !include-raw-escape include-raw-setup-docker.sh - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install verify -Pintegrationtest,jenkins -V' + goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true' properties: - - 'ovsdbserver.ipaddress=127.0.0.1' - - 'ovsdbserver.port=6641' - 'maven.repo.local=/tmp/r' - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r' - 'stream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{ovsdb-settings}' - global-settings: '{odl-global-settings}' - - inject: - properties-file: env.properties - - shell: - !include-raw-escape include-raw-cleanup-docker.sh + settings: 'ovsdb-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + - run-ovsdb-it: + maven-version: '{mvn33}' + stream: '{stream}' + OVS_VERSION: '2.4.0' + - run-ovsdb-it: + maven-version: '{mvn33}' + stream: '{stream}' + OVS_VERSION: '2.5.0' - jacoco-nojava-workaround publishers: - - archive: - artifacts: 'docker-ovs-*.log' - fingerprint: false - email-notification: email-prefix: '[ovsdb]' + - opendaylight-infra-shiplogs: + maven-version: '{mvn33}'