mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
CI: optimize Maven usage
This commit is contained in:
parent
ba23c64f74
commit
e540c6ec4c
@ -1,8 +1,6 @@
|
|||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check
|
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report
|
||||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test
|
|
||||||
- mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp jacoco:prepare-agent test jacoco:report
|
|
||||||
- python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
|
- python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml
|
||||||
- python3 /opt/source2filename.py target/site/cobertura.xml
|
- python3 /opt/source2filename.py target/site/cobertura.xml
|
||||||
- /opt/calcCoverage.sh < target/site/cobertura.xml
|
- /opt/calcCoverage.sh < target/site/cobertura.xml
|
||||||
|
9
pom.xml
9
pom.xml
@ -209,13 +209,6 @@
|
|||||||
<groupId>org.jacoco</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>jacoco-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>0.8.6</version>
|
<version>0.8.6</version>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>prepare-agent</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -353,4 +346,4 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user