Use the publish-evidence-item action to capture job-level evidence data in Markdown format in a GHA workflow run and publish it to CloudBees Unify.
Evidence is displayed on the Evidence tab of Run details.
This action is available on the GitHub Marketplace.
This action also supports system property references, such as ${{ cloudbees.run_id }} or ${{ vars.api_endpoint }}.
|
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The content to publish as evidence. |
|
String |
No |
The CloudBees Unify URL.
The default value is |
| The required markup language format for the evidence content is Markdown. |
Usage example
The following is a basic example of using the action:
steps: - name: Publish evidence uses: cloudbees-io-gha/publish-evidence-item@v2 with: content: |- # Sample Markdown evidence output - Application endpoint: https://app.example.com/qa - Artifacts - [backend.jar](https://example.com/repo/app/v1.0/backend.jar)
Markdown syntax support
The content input accepts Markdown-formatted text.
For more information, refer to the Markdown documentation.
| Markdown syntax | Supported? | Example | Rendered output |
|---|---|---|---|
Bulleted list |
|
|
|
Character codes |
|
|
© | |
Code |
|
|
|
External content |
|
|
|
Formatting |
|
|
bold text |
Headings |
|
|
|
HTML/Color |
|
||
Hyperlink |
|
|
|
Line break |
|
||
Quoted text (Blockquotes) |
|
|
A block quote of text such as this example.
— Anonymous
|
Table |
|
|