提交 47eeedae authored 作者: ShiYunXiao's avatar ShiYunXiao

init

上级 7a71ff68
流水线 #633 已通过 于阶段
in 0 秒
sonarqube-check:
image: maven:3.6.3-jdk-11
variables:
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
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script:
- mvn verify sonar:sonar -Dsonar.projectKey=shiyunxiao_DemoTest_AZAGIch2Kh7ksBnvzozi
allow_failure: true
only:
- main
tags:
- jdk17
......@@ -13,9 +13,12 @@
<version>0.0.1-SNAPSHOT</version>
<name>DemoTest</name>
<description>DemoTest</description>
<properties>
<java.version>17</java.version>
<sonar.qualitygate.wait>true</sonar.qualitygate.wait>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论