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:
|
code-analysis:
|
||||||
image: sonarsource/sonar-scanner-cli:11
|
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:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
environment:
|
||||||
|
SONAR_TOKEN:
|
||||||
|
from_secret: sonarqube-token
|
||||||
|
entrypoint: *script_file_entrypoint
|
||||||
commands:
|
commands:
|
||||||
- sonar-scanner -Dsonar.host.url="${SONAR_HOST_URL}" -Dsonar.projectKey="${SONAR_PROJECT_KEY}"
|
- sonar-scanner
|
||||||
|
|
||||||
upload-artifacts:
|
upload-artifacts:
|
||||||
image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
|
image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
sonar.projectKey=Pleroma-FE
|
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