blob: 589132547bd1c14ef3ef52a51ad13a96994e9c15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|