Commit 5f0118cd authored by 雪煾's avatar 雪煾
Browse files

ci: 新增 .gitlab-ci.yml

parent 385deed4
Pipeline #475 passed with stage
in 35 seconds
stages:
- test
sonarqube:
stage: test
tags:
- docker
image: emeraldsquad/sonar-scanner
only:
- master
script:
- sonar-scanner -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN
-Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
-Dsonar.gitlab.project_id=$CI_PROJECT_ID
-Dsonar.projectKey=$CI_PROJECT_NAME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment