use properties file?
This commit is contained in:
parent
41c6ddaf86
commit
12df46fd53
2 changed files with 7 additions and 8 deletions
|
|
@ -47,17 +47,15 @@ steps:
|
|||
|
||||
code-analysis:
|
||||
image: sonarsource/sonar-scanner-cli:11
|
||||
|
||||
environment:
|
||||
SONAR_TOKEN:
|
||||
from_secret: sonarqube-token
|
||||
SONAR_HOST_URL: https://sonarqube.pleroma.dev
|
||||
SONAR_PROJECT_KEY: Pleroma-FE
|
||||
when:
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
environment:
|
||||
SONAR_TOKEN:
|
||||
from_secret: sonarqube-token
|
||||
entrypoint: *script_file_entrypoint
|
||||
commands:
|
||||
- sonar-scanner -Dsonar.host.url="${SONAR_HOST_URL}" -Dsonar.projectKey="${SONAR_PROJECT_KEY}"
|
||||
- sonar-scanner
|
||||
|
||||
upload-artifacts:
|
||||
image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
sonar.projectKey=Pleroma-FE
|
||||
sonar.qualitygate.wait=true
|
||||
sonar.qualitygatesonar.host.url.wait=true
|
||||
sonar.host.url=https://sonarqube.pleroma.dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue