- 'ovsdb-sonar'
project: 'ovsdb'
- jdk: 'openjdk7'
+ jdk: 'openjdk8'
- job-template:
name: 'ovsdb-sonar'
wrappers:
- build-timeout
- ssh-agent-credentials:
- user: '{ssh-credentials}'
+ users:
+ - '{ssh-credentials}'
triggers:
- timed: 'H H * * *'
prebuilders:
- shell:
- !include-raw-escape include-raw-setup-docker.sh
+ !include-raw-escape:
+ - include-raw-setup-docker.sh
maven:
- maven-name: '{mvn32}'
+ maven-name: '{mvn33}'
root-pom: 'pom.xml'
- goals: 'clean install -Pintegrationtest,coverage,jenkins -Dovsdbserver.ipaddress=127.0.0.1 -Dovsdbserver.port=6641 -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
+ goals: 'clean install -Pjenkins -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
settings: '{ovsdb-settings}'
global-settings: '{odl-global-settings}'
postbuilders:
- inject:
properties-file: env.properties
+ - maven-target:
+ maven-version: '{mvn33}'
+ pom: 'pom.xml'
+ goals: 'verify -Pintegrationtest,coverage,jenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar -Dovsdb.controller.address=${{CONTROLLER_IP}}'
+ properties:
+ - 'ovsdbserver.ipaddress=127.0.0.1'
+ - 'ovsdbserver.port=6641'
+ - 'ovsdb.userspace.enabled=yes'
+ settings: '{ovsdb-settings}'
+ global-settings: '{odl-global-settings}'
- shell:
- !include-raw-escape include-raw-cleanup-docker.sh
+ !include-raw-escape:
+ - include-raw-cleanup-docker.sh
- jacoco-nojava-workaround
publishers: