X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fovsdb%2Fovsdb-sonar.yaml;h=ac657e5cd5c967a6523a86f6ff19b6cd37c10b43;hb=8be6838a27a4b275fe9aa452b51c830bebb2dc41;hp=f669024a6467ad00903f610462411fd6aa54fcb6;hpb=63e9993ad921bad51c005e410942287368308229;p=releng%2Fbuilder.git diff --git a/jjb/ovsdb/ovsdb-sonar.yaml b/jjb/ovsdb/ovsdb-sonar.yaml index f669024a6..ac657e5cd 100644 --- a/jjb/ovsdb/ovsdb-sonar.yaml +++ b/jjb/ovsdb/ovsdb-sonar.yaml @@ -11,8 +11,8 @@ name: 'ovsdb-sonar' project-type: freestyle - node: centos7-docker-2c-4g - jdk: '{jdk}' + node: centos7-docker-1c-4g + jdk: '{java-version}' properties: - opendaylight-infra-properties: @@ -36,18 +36,31 @@ build-timeout: '{build-timeout}' triggers: - - timed: 'H H * * 6' - - gerrit-trigger-patch-sonar: - server-name: '{server-name}' - name: 'ovsdb' + - timed: '{schedule-saturday}' + - gerrit: + server-name: '{gerrit-server-name}' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'run-sonar$' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/master' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true builders: - - shell: !include-raw-escape: include-raw-setup-docker.sh + - shell: !include-raw-escape: setup-docker.sh - inject: properties-file: env.properties - shell: !include-raw-escape: include-setup-hwvtep-docker.sh - maven-target: - maven-version: 'mvn33' + maven-version: 'mvn35' pom: 'pom.xml' goals: > clean install dependency:tree -V -B -Dsonar @@ -68,7 +81,7 @@ verify -V -B -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} - Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r + -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r properties: - 'ovsdbserver.ipaddress=127.0.0.1' - 'ovsdbserver.port=6641' @@ -90,12 +103,12 @@ settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - - shell: !include-raw-escape: include-raw-cleanup-docker.sh - - jacoco-nojava-workaround + - shell: !include-raw-escape: cleanup-docker.sh + - lf-jacoco-nojava-workaround publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[ovsdb]' - - jacoco-report + - lf-jacoco-report - lf-infra-publish