提交 1b0e5883 authored 作者: husishuai's avatar husishuai

test

上级 adc57f04
流水线 #254 已通过 于阶段
in 1 秒
...@@ -3,6 +3,14 @@ stages: ...@@ -3,6 +3,14 @@ stages:
job_test: job_test:
stage: test stage: test
image: maven:3-eclipse-temurin-17
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
tags: tags:
- testTag - testTag
script: script:
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<description>test</description> <description>test</description>
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
<sonar.projectKey>hushuai_sonarqube_268af5c1-6c6e-4720-9b3b-aa6b9dcdeae0</sonar.projectKey> <sonar.projectKey>hushuai_sonarqube_9e8190d1-68c8-479e-89a7-b0459310d043</sonar.projectKey>
<sonar.projectName>sonarqube</sonar.projectName> <sonar.projectName>sonarqube</sonar.projectName>
<sonar.qualitygate.wait>true</sonar.qualitygate.wait> <sonar.qualitygate.wait>true</sonar.qualitygate.wait>
<sonar.host.url>http://192.168.126.20:9009</sonar.host.url> <sonar.host.url>http://192.168.126.20:9009</sonar.host.url>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论