提交 2dc3e8fe authored 作者: husishuai's avatar husishuai

test

上级 9624fc14
流水线 #239 已通过 于阶段
...@@ -4,7 +4,7 @@ stages: ...@@ -4,7 +4,7 @@ stages:
sonarqube-check: sonarqube-check:
stage: sonarqube-check stage: sonarqube-check
image: maven:3-eclipse-temurin-17 image: maven:3.6.3-jdk-11
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
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
...@@ -16,7 +16,4 @@ sonarqube-check: ...@@ -16,7 +16,4 @@ sonarqube-check:
- mvn verify sonar:sonar - mvn verify sonar:sonar
allow_failure: true allow_failure: true
only: only:
- merge_requests - master
- master \ No newline at end of file
- main
- develop
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论