X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fnetvirt%2Fnetvirt-full-integration.yaml;h=a4bc48cdc0ac5192122e8a414d53745b25c0d2b2;hb=c6dd8be243134ba5a87db1a2eb96b90452608f3d;hp=30d04c49dce92bf5183af11666443ccf9b228516;hpb=c8e2080ff26c282ebba21fe4beb6a44df96ca5bd;p=releng%2Fbuilder.git diff --git a/jjb/netvirt/netvirt-full-integration.yaml b/jjb/netvirt/netvirt-full-integration.yaml index 30d04c49d..a4bc48cdc 100644 --- a/jjb/netvirt/netvirt-full-integration.yaml +++ b/jjb/netvirt/netvirt-full-integration.yaml @@ -6,11 +6,16 @@ # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - - boron: + - carbon: branch: 'master' jdk: openjdk8 jdks: - openjdk8 + - boron: + branch: 'stable/boron' + jdk: openjdk8 + jdks: + - openjdk8 - beryllium: branch: 'stable/beryllium' jdk: openjdk8 @@ -18,36 +23,81 @@ - openjdk8 project: 'netvirt' + archive-artifacts: '*.log' + +- builder: + name: netvirt-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: 'netvirt-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + +- builder: + name: run-net-virt-it + builders: + - netvirt-run-it: + maven-version: '{maven-version}' + stream: '{stream}' + pomFile: 'openstack/net-virt-it/pom.xml' + logfile: '{OVS_VERSION}-net-virt-IT.log' + +- builder: + name: run-netvirt-sfc-it + builders: + - netvirt-run-it: + maven-version: '{maven-version}' + stream: '{stream}' + pomFile: 'openstack/net-virt-sfc/it/pom.xml' + logfile: '{OVS_VERSION}-netvirt-sfc-IT.log' + +- builder: + name: run-netvirt-it + builders: + - inject: + properties-content: OVS_VERSION={OVS_VERSION} + - shell: + !include-raw-escape: + - include-raw-setup-docker.sh + - inject: + properties-file: env.properties + - run-net-virt-it: + OVS_VERSION: '{OVS_VERSION}' + maven-version: '{maven-version}' + stream: '{stream}' + - run-netvirt-sfc-it: + OVS_VERSION: '{OVS_VERSION}' + maven-version: '{maven-version}' + stream: '{stream}' + - shell: + !include-raw-escape: + - include-raw-cleanup-docker.sh - job-template: name: 'netvirt-daily-full-integration-{stream}' + disabled: {disabled} + node: centos7-docker-2c-4g # Required Variables: # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) - project-type: matrix - node: matrix_master - description: 'Integration tests for the netvirt 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: - - 2.3.2 - - 2.4.0 - - axis: - type: jdk - values: '{obj:jdks}' - - - axis: - type: slave - name: nodes - values: - - dynamic_docker + project-type: freestyle + jdk: '{jdk}' + description: 'Integration tests for the Netvirt project against different versions of OVS and branches. This job runs nightly. ' logrotate: daysToKeep: '{build-days-to-keep}' @@ -56,62 +106,69 @@ artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - - project-parameter: - project: '{project}' - - gerrit-parameters: + - opendaylight-infra-parameters: project: '{project}' 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 - - inject: - properties-file: env.properties - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install -V verify -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}' + 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' - - '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: '{netvirt-settings}' - global-settings: '{odl-global-settings}' - - shell: - !include-raw-escape: - - include-raw-cleanup-docker.sh + settings: 'netvirt-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp + - run-netvirt-it: + maven-version: '{mvn33}' + stream: '{stream}' + OVS_VERSION: '2.4.0' + - run-netvirt-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: '[netvirt]' + - archive-build: + maven-version: '{mvn33}'