提交 216c7bbd authored 作者: husishuai's avatar husishuai

test

上级 9a43e4cd
流水线 #227 已通过 于阶段
in 0 秒
stages: trigger_build:
- sonarqube-check stage: deploy
- sonarqube-vulnerability-report
sonarqube-check:
stage: sonarqube-check
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
script: script:
- mvn verify sonar:sonar - "curl -X POST -F token=sqp_7f8d3038281c4b26f5b17398d694fb50071cc56c -F ref=sonarqube http://scjoyedu.eicp.net:9121/api/v4/projects/367/trigger/pipeline"
allow_failure: true \ No newline at end of file
only:
- merge_requests
- master
- main
- develop
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论