]> source.dussan.org Git - sonarqube.git/commitdiff
Fix configuration of maintenance branch analysis
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 13 Sep 2017 12:40:02 +0000 (14:40 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 13 Sep 2017 12:40:02 +0000 (14:40 +0200)
travis.sh

index 39e7a20ac3f94e54af34d656ed3d9ebf9626cd5c..c071aebe121e2a480860ca0cef6d445d1625cd8e 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -157,7 +157,7 @@ BUILD)
     mvn sonar:sonar \
             -Dsonar.host.url=$SONAR_HOST_URL \
             -Dsonar.login=$SONAR_TOKEN \
-            -Dsonar.branch.name=$TRAVIS_PULL_REQUEST_BRANCH
+            -Dsonar.branch.name=$TRAVIS_BRANCH
 
   elif [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ -n "${GITHUB_TOKEN:-}" ]; then
     echo 'Build and analyze internal pull request'