diff options
author | Julien HENRY <henryju@yahoo.fr> | 2015-06-29 11:24:01 +0200 |
---|---|---|
committer | Julien HENRY <henryju@yahoo.fr> | 2015-06-29 11:24:01 +0200 |
commit | 9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a (patch) | |
tree | 85f5e443a77b4c3061aa1f85529266f0f9b41b50 /travis.sh | |
parent | 35960287f74244d80373eaf3af47a14cefc7bcf8 (diff) | |
download | sonarqube-9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a.tar.gz sonarqube-9849b523a2bcc018b84f5b11e0fb3e2bd5d3d13a.zip |
Use incremental mode to do pull request analysis
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh index aaea11d3906..ee25f626d7a 100755 --- a/travis.sh +++ b/travis.sh @@ -36,10 +36,9 @@ PRANALYSIS) then echo "Start pullrequest analysis" mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \ - -Dsonar.analysis.mode=preview \ + -Dsonar.analysis.mode=incremental \ -Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \ -Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \ - -Dsonar.forceUpdate=true \ -Dsonar.github.login=$SONAR_GITHUB_LOGIN \ -Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \ -Dsonar.host.url=$SONAR_HOST_URL \ |