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

test3

上级 d7b9f66e
流水线 #259 已通过 于阶段
in 6 秒
stages: stages:
- sonarqube-check - testGitLab
sonarqube-check: job_test:
stage: sonarqube-check stage: testGitLab
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
...@@ -11,11 +11,9 @@ sonarqube-check: ...@@ -11,11 +11,9 @@ sonarqube-check:
key: "${CI_JOB_NAME}" key: "${CI_JOB_NAME}"
paths: paths:
- .sonar/cache - .sonar/cache
tags:
- testTag
script: script:
- mvn verify sonar:sonar - echo "Running tests..."
allow_failure: true
only: only:
- merge_requests
- master - master
- main
- develop
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论