We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ac8b6 commit 64cffecCopy full SHA for 64cffec
dev/main
@@ -8,7 +8,14 @@ extra_args=""
8
if [ "x$TRAVIS_REPO_SLUG" == "xoracle/opengrok" ]; then
9
echo "Enabling Jacoco/Coveralls"
10
extra_args="jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report"
11
- extra_args="$extra_args sonar:sonar"
+
12
+ #
13
+ # Sonar seems to only work on master branch commits.
14
15
+ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
16
+ echo "Enabling Sonar"
17
+ extra_args="$extra_args sonar:sonar"
18
+ fi
19
fi
20
21
mvn -B -V verify $extra_args
0 commit comments