]> source.dussan.org Git - sonarqube.git/commitdiff
Add new sonar.pullrequest.id property to build script
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Mon, 29 Jan 2018 12:51:33 +0000 (13:51 +0100)
committerJanos Gyerik <janos.gyerik@sonarsource.com>
Wed, 31 Jan 2018 08:50:29 +0000 (09:50 +0100)
travis.sh

index 7a7a20a2c95b8d6db956d54c07bbdf1314f1b2e1..7145df65bb8a256c75c35ea906088ff4645c9faa 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -178,6 +178,7 @@ BUILD)
         -Dsource.skip=true \
         -Pdeploy-sonarsource
 
+    # 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 \
@@ -188,6 +189,7 @@ BUILD)
         -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.github.repository=$TRAVIS_REPO_SLUG
   else