You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
281 B

#!/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