aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authortomverin <thomas.verin@sonarsource.com>2015-10-21 08:56:19 +0200
committertomverin <thomas.verin@sonarsource.com>2015-10-21 08:56:19 +0200
commitef84d35ad884f3ac707d93580b83ffd13370eb91 (patch)
tree784b6465c1d6a1da6b0a2bebbe5c1e0a0f20ca48 /travis.sh
parentdf2b95020a82ed588d35526ff915ac2187c325da (diff)
downloadsonarqube-ef84d35ad884f3ac707d93580b83ffd13370eb91.tar.gz
sonarqube-ef84d35ad884f3ac707d93580b83ffd13370eb91.zip
Update pull request analysis start
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh
index a088cd267a8..6b95be9b3f9 100755
--- a/travis.sh
+++ b/travis.sh
@@ -42,8 +42,10 @@ set +eu
PRANALYSIS)
if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; 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=incremental \
+ mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Panalysis \
+ -Dmaven.test.failure.ignore=true \
+ -Dclirr=true \
+ -Dsonar.analysis.mode=preview \
-Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
-Dsonar.github.repository=$SONAR_GITHUB_REPOSITORY \
-Dsonar.github.login=$SONAR_GITHUB_LOGIN \