Skip to content

Commit

Permalink
Issue #908 - sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbartels committed Sep 4, 2018
1 parent 256c6cf commit 4606b24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
#

if ([ "$TRAVIS_BRANCH" == "$RESTFB_BRANCH" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ $TRAVIS_JDK_VERSION == "oraclejdk8" ]; then
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dsonar.sources=src/main/java,target/generated-sources/delombok

else
mvn test -B
fi

0 comments on commit 4606b24

Please sign in to comment.