提交 9624fc14 authored 作者: husishuai's avatar husishuai

test

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