Still trying to retrieve report results in Markdown...
This commit is contained in:
@@ -85,13 +85,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.project-status }}"
|
echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.project-status }}"
|
||||||
echo "Quality Gate Result: "
|
echo "Quality Gate Result: "
|
||||||
echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" | jq
|
echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" > quality-gate-result.json
|
||||||
|
cat quality-gate-result.json | jq
|
||||||
|
|
||||||
- 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: ${{ toJSON(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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user