diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2018-03-08 11:22:04 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk@users.noreply.github.com> | 2018-03-08 14:36:31 +0100 |
commit | 113d961e033dfa90642be93eb7a45be47850f274 (patch) | |
tree | 9d053f33e6db64a5f78486ca5e0d9523fa49ae4e /travis.sh | |
parent | 5bafba36f7cfadcfe035153d33b3fdf495d62811 (diff) | |
download | sonarqube-113d961e033dfa90642be93eb7a45be47850f274.tar.gz sonarqube-113d961e033dfa90642be93eb7a45be47850f274.zip |
SONAR-10365 Analyze pull request as 1st class citizen
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/travis.sh b/travis.sh index 5a3fa394406..7c1acf457ea 100755 --- a/travis.sh +++ b/travis.sh @@ -191,19 +191,18 @@ BUILD) -Dsource.skip=true \ -Pdeploy-sonarsource,release - # TODO remove the sonar.pullrequest.github.* settings after sonar-core-plugins 7.1.0.330 is deployed on Next mvn sonar:sonar \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ - -Dsonar.branch.name=$TRAVIS_PULL_REQUEST_BRANCH \ - -Dsonar.branch.target=$TRAVIS_BRANCH \ -Dsonar.analysis.buildNumber=$BUILD_NUMBER \ -Dsonar.analysis.pipeline=$BUILD_NUMBER \ -Dsonar.analysis.sha1=$TRAVIS_PULL_REQUEST_SHA \ -Dsonar.analysis.prNumber=$TRAVIS_PULL_REQUEST \ -Dsonar.analysis.repository=$TRAVIS_REPO_SLUG \ - -Dsonar.pullrequest.id=$TRAVIS_PULL_REQUEST \ - -Dsonar.pullrequest.github.id=$TRAVIS_PULL_REQUEST \ + -Dsonar.pullrequest.key=$TRAVIS_PULL_REQUEST \ + -Dsonar.pullrequest.branch=$TRAVIS_PULL_REQUEST_BRANCH \ + -Dsonar.pullrequest.base=$TRAVIS_BRANCH \ + -Dsonar.pullrequest.provider=github \ -Dsonar.pullrequest.github.repository=$TRAVIS_REPO_SLUG else |