Add Sonarqube Analyse
This commit is contained in:
@@ -6,12 +6,6 @@ jobs:
|
|||||||
name: SonarQube Trigger
|
name: SonarQube Trigger
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug Gitea variables
|
|
||||||
run: |
|
|
||||||
echo "GITEA_REF: ${GITEA_REF}"
|
|
||||||
echo "GITEA_SHA: ${GITEA_SHA}"
|
|
||||||
echo "All env variables:"
|
|
||||||
env
|
|
||||||
- name: Checking out
|
- name: Checking out
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -22,7 +16,7 @@ jobs:
|
|||||||
args: >
|
args: >
|
||||||
-Dsonar.projectKey=pki-manager
|
-Dsonar.projectKey=pki-manager
|
||||||
-Dsonar.sources=. \
|
-Dsonar.sources=. \
|
||||||
-Dsonar.host.url=https://sonarqube.bv.stef.lan
|
-Dsonar.host.url=${{secrets.SONAR_HOST}}
|
||||||
env:
|
env:
|
||||||
SONAR_TOKEN: sqp_953fd89437ce44f1aba0aca1cd768bfec9ab90d0
|
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
|
||||||
SONAR_HOST_URL: https://sonarqube.bv.stef.lan
|
SONAR_HOST_URL: ${{secrets.SONAR_HOST}}
|
||||||
|
|||||||
Reference in New Issue
Block a user