Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 670c629a authored by ceoche's avatar ceoche
Browse files

clean up, try jacoco integration in sonar again...

parent 08e1573e
No related branches found
No related tags found
1 merge request!1Develop
......@@ -31,6 +31,15 @@ quality:
stage: tests
extends:
- .testQualityForJavaWithSonarqube
variables:
P_CODE_BINARIES: "target/classes/"
P_CODE_JACOCO_REPORT_PATH: "target/jacoco.exec"
P_CODE_JUNIT_REPORTS_PATH: "target/surefire-reports"
P_CODE_DYNAMIC_ANALYSIS: "reuseReports"
P_CODE_COVERAGE_PLUGIN: "jacoco"
P_CODE_SOURCE_ENCODING: "UTF-8"
P_CODE_LANGUAGE: "java"
P_CODE_DEVELOPER_EDITION: "true"
release/code:
stage: release
......
......@@ -41,11 +41,7 @@ docker build -t dcc-validator-on-wildfly-1.0.0-snapshot .
### Deploy
```shell
docker run
-p 8080:8080
-v /opt/dcc-validator:/opt/dcc-validator
--name dcc-validator
dcc-validator-on-wildfly-1.0.0-snapshot
docker run -p 8080:8080 -v /opt/dcc-validator:/opt/dcc-validator --name dcc-validator dcc-validator-on-wildfly-1.0.0-snapshot
```
## Web Service
......
......@@ -17,7 +17,6 @@
<properties>
<digg.dgc.version>1.0.0</digg.dgc.version>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<build>
......
......@@ -14,11 +14,8 @@
<artifactId>app.dcc-validator-service</artifactId>
<name>Digital COVID Certificate Validator Service</name>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<packaging>war</packaging>
<build>
<plugins>
......
......@@ -30,7 +30,6 @@
<nexus.url>https://gazelle.ihe.net/nexus</nexus.url>
<nexus.path>/content/groups/public/</nexus.path>
<sonar.maven.plugin.version>3.7.0.1746</sonar.maven.plugin.version>
<sonar.exclusions>**/torework/*</sonar.exclusions>
</properties>
<repositories>
......@@ -147,6 +146,9 @@
</plugin>
</plugins>
</build>
<properties>
<sonar.exclusions>**/torework/*</sonar.exclusions>
</properties>
</profile>
<profile>
<id>release</id>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment