Call sonarqube after success.
This commit is contained in:
parent
61827e731a
commit
dfee57d411
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ jdk:
|
||||||
before_install:
|
before_install:
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|
||||||
after_install:
|
after_success:
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_TEST_RESULT" == 0 ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
|
if [ "$TRAVIS_TEST_RESULT" == 0 ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ]; then
|
||||||
sonar-scanner
|
./gradlew sonarqube -Dsonar.login=${SONAR_TOKEN}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue