OCT 1. 更新 gitlab-ci 配置, 支持 sonar
This commit is contained in:
parent
bc0ea7b674
commit
92f5016cc2
|
@ -4,8 +4,10 @@ stages :
|
||||||
- compile
|
- compile
|
||||||
- package
|
- package
|
||||||
|
|
||||||
sonarqube-check :
|
sonarqube-check:
|
||||||
stage : sonarqube-check
|
stage : sonarqube-check
|
||||||
|
tags :
|
||||||
|
- linux-maven
|
||||||
image : maven:3-eclipse-temurin-17
|
image : maven:3-eclipse-temurin-17
|
||||||
variables :
|
variables :
|
||||||
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
||||||
|
|
Loading…
Reference in New Issue