Added GitHub token.
This commit is contained in:
parent
2088a07ab5
commit
d86f84583c
1 changed files with 4 additions and 1 deletions
|
@ -10,5 +10,8 @@ before_install:
|
|||
after_success:
|
||||
- |
|
||||
if [ "${TRAVIS_PULL_REQUEST}" != "false" ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
|
||||
./gradlew sonarqube -Dsonar.login=${SONAR_TOKEN} -Dsonar.organization=${SONAR_GITHUB}
|
||||
./gradlew sonarqube \
|
||||
-Dsonar.github.pullRequest=${TRAVIS_PULL_REQUEST} \
|
||||
-Dsonar.github.oauth=${SONAR_GITHUB} \
|
||||
-Dsonar.login=${SONAR_TOKEN} \
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue