Update .forgejo/workflows/sonar.yml
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
This commit is contained in:
parent
4e262a08e6
commit
c895145f8e
1 changed files with 4 additions and 2 deletions
|
@ -23,12 +23,14 @@ jobs:
|
|||
with:
|
||||
pollingTimeoutSec: 600
|
||||
args: >
|
||||
-Dsonar.projectKey=${{ secrets.SONARQUBE_HOST }}
|
||||
-Dsonar.projectKey=$SONAR_PROJECT_KEY
|
||||
-Dsonar.verbose=true
|
||||
env:
|
||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||
# Check the Quality Gate status.
|
||||
SONAR_PROJECT_KEY: ${{ secrets.SONARQUBE_PROJECT_KEY }}
|
||||
|
||||
# Check the Quality Gate status.
|
||||
- name: SonarQube Quality Gate check
|
||||
id: sonarqube-quality-gate-check
|
||||
uses: https://github.com/sonarsource/sonarqube-quality-gate-action@master
|
||||
|
|
Loading…
Add table
Reference in a new issue