OCT 1. 更新 gitlab-ci 配置, 支持 jacoco

This commit is contained in:
黄昕 2024-03-06 10:03:39 +08:00
parent b16e35a596
commit 69bbceacfe
1 changed files with 1 additions and 12 deletions

View File

@ -3,7 +3,6 @@ stages :
- sonarqube-check
- compile
- integration-test
- coverage
- package
sonarqube-check :
@ -19,7 +18,7 @@ sonarqube-check :
paths:
- .sonar/cache
script :
- mvn verify sonar:sonar -DskipTests
- mvn verify sonar:sonar
allow_failure: true
only :
- merge_requests
@ -55,16 +54,6 @@ integration-test:
- target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml
coverage :
stage : coverage
tags :
- linux-maven
only :
- master
script:
- echo "=============== 开始代码覆盖率检测任务 ==============="
- mvn package
# 打包
package :
stage : package