diff --git a/pom.xml b/pom.xml index a2d23803c25..0d0c98c5efa 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,9 @@ UTF-8 0.95 -Dlogback.configurationFile=src/test/resources/sd_logback.xml + AthenzSonar-${project.groupId}:${project.artifactId} + athenz + https://sonarcloud.io diff --git a/screwdriver/scripts/build.sh b/screwdriver/scripts/build.sh index 1cae4d8560e..54f5c4f79bd 100755 --- a/screwdriver/scripts/build.sh +++ b/screwdriver/scripts/build.sh @@ -3,4 +3,4 @@ set -e export PATH=$PATH:/usr/local/go/bin -mvn install +mvn -B install diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000000..920f05f0ea2 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,6 @@ +sonar.sources=src/main/java +sonar.tests=src/test/java +sonar.java.binaries=target/classes +sonar.java.test.binaries=target/test-classes +sonar.junit.reportPaths=target/surefire-reports +sonar.jacoco.reportPaths=target/jacoco.exec \ No newline at end of file