From 12df46fd53407bddbaf1d086b3c8f925ee595385 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 3 Aug 2026 19:15:59 +0300 Subject: [PATCH] use properties file? --- .woodpecker/test.yaml | 12 +++++------- sonar-project.properties | 3 ++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index 466f58e7e..b4d8685fe 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -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 diff --git a/sonar-project.properties b/sonar-project.properties index 82d3a71a2..15030e3cc 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -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