X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fovsdb%2Fovsdb-sonar.yaml;h=a223c54200656cf06cb2febafb5981efff9fd0ae;hb=3e42250df3673478d03c5703c668758fbe90e737;hp=47413b7095846a3f9e4259633334d64c0b266b6b;hpb=0a28f0362b904fe414c5dd269f969bf26a94fee1;p=releng%2Fbuilder.git diff --git a/jjb/ovsdb/ovsdb-sonar.yaml b/jjb/ovsdb/ovsdb-sonar.yaml index 47413b709..a223c5420 100644 --- a/jjb/ovsdb/ovsdb-sonar.yaml +++ b/jjb/ovsdb/ovsdb-sonar.yaml @@ -37,9 +37,22 @@ triggers: - timed: '{schedule-saturday}' - - gerrit-trigger-patch-sonar: - gerrit-server-name: '{gerrit-server-name}' - name: 'ovsdb' + - 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: setup-docker.sh @@ -47,14 +60,14 @@ 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 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' + - '-Xmx1024m' settings: 'ovsdb-settings' settings-type: cfp global-settings: 'global-settings' @@ -62,13 +75,13 @@ - inject: properties-file: env.properties - maven-target: - maven-version: 'mvn33' + maven-version: 'mvn35' pom: 'pom.xml' goals: > 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' @@ -78,7 +91,7 @@ global-settings: 'global-settings' global-settings-type: cfp - maven-target: - maven-version: 'mvn33' + maven-version: 'mvn35' # We should switch to the recommended configuration of sonar once # JJB adds support for configurating the Sonar wrapper: # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins @@ -91,7 +104,7 @@ global-settings: 'global-settings' global-settings-type: cfp - shell: !include-raw-escape: cleanup-docker.sh - - jacoco-nojava-workaround + - lf-jacoco-nojava-workaround publishers: - email-notification: