Still trying to retrieve report results...
This commit is contained in:
@@ -81,15 +81,20 @@ jobs:
|
|||||||
sonar-host-url: ${{ secrets.SONARQUBE_HOST }}
|
sonar-host-url: ${{ secrets.SONARQUBE_HOST }}
|
||||||
sonar-token: ${{ secrets.SONARQUBE_TOKEN }}
|
sonar-token: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
|
||||||
- name: Convert JSON report to markdown
|
- name: Check Quality Gate Status
|
||||||
id: convert-json-to-md
|
|
||||||
uses: parkerbxyz/json-to-markdown-table@v1.1.2
|
|
||||||
with:
|
|
||||||
json: ${{ steps.quality-gate-check.outputs.quality-gate-result }}
|
|
||||||
|
|
||||||
- name: Verify markdown output
|
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.convert-json-to-md.outputs.table }}"
|
echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.quality-gate-status }}"
|
||||||
|
echo "Quality Gate Result: ${{ steps.quality-gate-check.outputs.quality-gate-result }}"
|
||||||
|
|
||||||
|
# - name: Convert JSON report to markdown
|
||||||
|
# id: convert-json-to-md
|
||||||
|
# uses: parkerbxyz/json-to-markdown-table@v1.1.2
|
||||||
|
# with:
|
||||||
|
# json: ${{ steps.quality-gate-check.outputs.quality-gate-result }}
|
||||||
|
|
||||||
|
# - name: Verify markdown output
|
||||||
|
# run: |
|
||||||
|
# echo "${{ steps.convert-json-to-md.outputs.table }}"
|
||||||
|
|
||||||
# Step 2: Post SonarQube results as comment (using curl commands and Gitea API)
|
# Step 2: Post SonarQube results as comment (using curl commands and Gitea API)
|
||||||
# - name: Post SonarQube Results as Comment
|
# - name: Post SonarQube Results as Comment
|
||||||
|
|||||||
Reference in New Issue
Block a user