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

test

上级 7db5b66e
流水线 #245 已通过 于阶段
......@@ -3,10 +3,8 @@ stages:
- sonarqube-vulnerability-report
sonarqube-check:
tags:
- testTag
stage: sonarqube-check
image: maven:3.6.3-jdk-11
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
......@@ -15,9 +13,10 @@ sonarqube-check:
paths:
- .sonar/cache
script:
- JAVA_HOME=/data/jdk/jdk1.8.0_181/
# - mvn -e -B -V verify sonar:sonar -Dsonar.login=a4x6g56PCyCBy8va_Egy
- mvn verify sonar:sonar
allow_failure: true
only:
- master
\ No newline at end of file
- merge_requests
- master
- main
- develop
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论