blob: 589132547bd1c14ef3ef52a51ad13a96994e9c15 [file] [log] [blame]
#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
if [ -n "$SONAR_GITHUB_OAUTH" ]; then
./gradlew sonarqube \
-Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
-Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \
else
echo "No oauth token available"
fi
fi