File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 run : |
4040 mkdir -p src/test/resources
4141 echo ${{ secrets.APPLICATION_TEST_PROPERTIES }} | base64 -d > src/test/resources/application-test.properties
42- mvn clean verify sonar:sonar
42+ mvn clean verify sonar:sonar -Dsonar.qualitygate.wait=true
Original file line number Diff line number Diff line change 2929 <properties >
3030 <java .version>25</java .version>
3131 <sonar .coverage.exclusions>**/*Application.java</sonar .coverage.exclusions>
32+ <sonar .coverage.jacoco.xmlReportPaths>${project.build.directory} /site/jacoco/jacoco.xml</sonar .coverage.jacoco.xmlReportPaths>
3233 </properties >
3334 <dependencies >
3435 <dependency >
9394 <groupId >org.springframework.boot</groupId >
9495 <artifactId >spring-boot-maven-plugin</artifactId >
9596 </plugin >
97+ <plugin >
98+ <groupId >org.jacoco</groupId >
99+ <artifactId >jacoco-maven-plugin</artifactId >
100+ <version >0.8.12</version >
101+ <executions >
102+ <execution >
103+ <goals >
104+ <goal >prepare-agent</goal >
105+ </goals >
106+ </execution >
107+ <execution >
108+ <id >report</id >
109+ <phase >verify</phase >
110+ <goals >
111+ <goal >report</goal >
112+ </goals >
113+ </execution >
114+ </executions >
115+ </plugin >
96116 </plugins >
97117 </build >
98118
You can’t perform that action at this time.
0 commit comments