aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-13 14:40:02 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-13 14:40:02 +0200
commitc29b2e09dd434711a39953e33118208083d03e24 (patch)
tree4d5a5a0b2bda64220150ccc4fc77cf013c24828d
parenta53ec3030343d4ed02e8558ef3f960a06139879d (diff)
downloadsonarqube-c29b2e09dd434711a39953e33118208083d03e24.tar.gz
sonarqube-c29b2e09dd434711a39953e33118208083d03e24.zip
Fix configuration of maintenance branch analysis
-rwxr-xr-xtravis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 39e7a20ac3f..c071aebe121 100755
--- 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'