Plan/scripts/sonar.sh

7 lines
113 B
Bash

set -e
cd $TRAVIS_BUILD_DIR/Plan
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
./gradlew sonarqube
fi
cd $HOME