OCT 1. 更新 gitlab-ci 配置, 支持 jacoco
This commit is contained in:
parent
b16e35a596
commit
69bbceacfe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue