提交 f57d8f89 authored 作者: husishuai's avatar husishuai

test

上级 ad4886c7
流水线 #222 已通过 于阶段
...@@ -6,10 +6,10 @@ sonarqube-check: ...@@ -6,10 +6,10 @@ sonarqube-check:
stage: sonarqube-check stage: sonarqube-check
image: maven:3-eclipse-temurin-17 image: maven:3-eclipse-temurin-17
variables: variables:
SONAR_USER_HOME: "/root/.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
cache: cache:
key: "testSonarqubeCache" key: "${CI_JOB_NAME}"
paths: paths:
- .sonar/cache - .sonar/cache
script: script:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论