Still trying to retrieve report results in Markdown...
This commit is contained in:
@@ -86,15 +86,15 @@ jobs:
|
|||||||
echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.quality-gate-status }}"
|
echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.quality-gate-status }}"
|
||||||
echo "Quality Gate Result: ${{ steps.quality-gate-check.outputs.quality-gate-result }}"
|
echo "Quality Gate Result: ${{ steps.quality-gate-check.outputs.quality-gate-result }}"
|
||||||
|
|
||||||
# - name: Convert JSON report to markdown
|
- name: Convert JSON report to markdown
|
||||||
# id: convert-json-to-md
|
id: convert-json-to-md
|
||||||
# uses: parkerbxyz/json-to-markdown-table@v1.1.2
|
uses: parkerbxyz/json-to-markdown-table@v1.1.2
|
||||||
# with:
|
with:
|
||||||
# json: ${{ steps.quality-gate-check.outputs.quality-gate-result }}
|
json: ${{ toJSON(steps.quality-gate-check.outputs.quality-gate-result) }}
|
||||||
|
|
||||||
# - name: Verify markdown output
|
- name: Verify markdown output
|
||||||
# run: |
|
run: |
|
||||||
# echo "${{ steps.convert-json-to-md.outputs.table }}"
|
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