Home | History | Annotate | Download | only in testng
      1 #!/bin/bash
      2 
      3 if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
      4   if [ -n "$SONAR_GITHUB_OAUTH" ]; then
      5     ./gradlew sonarqube \
      6       -Dsonar.github.pullRequest=$TRAVIS_PULL_REQUEST \
      7       -Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \
      8   else
      9     echo "No oauth token available"
     10   fi
     11 fi