File tree 5 files changed +9
-5
lines changed
5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -229,15 +229,12 @@ jobs:
229
229
- restore_cache :
230
230
name : Restore Sonar cache
231
231
key : sonar-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
232
- - run :
233
- name : Build
234
- command : mvn verify -Pstatic-code-analysis -Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip
235
232
- run :
236
233
name : Test
237
234
command : mvn verify -am -pl test-functional -Pstatic-code-analysis -Dgpg.skip -Dmaven.javadoc.skip
238
235
- run :
239
236
name : Analyze
240
- command : mvn verify -Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=arangodb_arangodb-java-driver
237
+ command : mvn verify -Pstatic-code-analysis - Dmaven.test.skip -Dgpg.skip -Dmaven.javadoc.skip org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=arangodb_arangodb-java-driver
241
238
- save_cache :
242
239
name : Save Sonar cache
243
240
key : sonar-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
@@ -350,6 +347,7 @@ workflows:
350
347
- ' cluster'
351
348
args :
352
349
- ' -DenableSlowTests=true'
350
+
353
351
test-adb-topology :
354
352
when : <<pipeline.parameters.docker-img>>
355
353
jobs :
Original file line number Diff line number Diff line change 18
18
<properties >
19
19
<maven .deploy.skip>false</maven .deploy.skip>
20
20
<moduleName >com.arangodb.driver</moduleName >
21
+ <sonar .test.exclusions>src/test/**/*</sonar .test.exclusions>
21
22
</properties >
22
23
23
24
<build >
Original file line number Diff line number Diff line change 44
44
<maven .deploy.skip>true</maven .deploy.skip>
45
45
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
46
46
<sonar .organization>arangodb-1</sonar .organization>
47
- <sonar .test.exclusions>src/test/**/*</sonar .test.exclusions>
47
+ <sonar .java.spotbugs.reportPaths>target/spotbugsXml.xml</sonar .java.spotbugs.reportPaths>
48
+ <sonar .coverage.jacoco.xmlReportPaths>site/jacoco/jacoco.xml</sonar .coverage.jacoco.xmlReportPaths>
48
49
<graalvm .version>23.1.1</graalvm .version>
49
50
</properties >
50
51
Original file line number Diff line number Diff line change 190
190
</executions >
191
191
<configuration >
192
192
<dataFile >../test-functional/target/jacoco.exec</dataFile >
193
+ <formats >
194
+ <format >XML</format >
195
+ </formats >
193
196
</configuration >
194
197
</plugin >
195
198
</plugins >
Original file line number Diff line number Diff line change 16
16
<properties >
17
17
<maven .build.cache.enabled>false</maven .build.cache.enabled>
18
18
<adb .jackson.version>2.17.1</adb .jackson.version>
19
+ <sonar .skip>true</sonar .skip>
19
20
</properties >
20
21
21
22
<dependencies >
You can’t perform that action at this time.
0 commit comments