From afcf1a496273ff86a103aca82673e5dad6b3233a Mon Sep 17 00:00:00 2001 From: Roman Ivanov Date: Tue, 24 Jan 2017 07:38:22 -0800 Subject: [PATCH] Issue #61: set sonar login by token, secure token does not work for some reason --- travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis.sh b/travis.sh index 7f8f8426..c2fc998a 100755 --- a/travis.sh +++ b/travis.sh @@ -10,7 +10,7 @@ ci) sonar) if [[ $TRAVIS_PULL_REQUEST =~ ^([0-9]*)$ ]]; then exit 0; fi - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarqube.com + mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN ;; nondex)