Publish evidence items

1 minute read

Use this action to capture evidence data for workflow runs. This information is collected at the step level of the workflow run.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Default value Description

content

String

Yes

The step level information captured as evidence for the workflow run.

format

String

No

MARKDOWN

The markup language format. Default is Markdown.

Usage example

In your YAML file, add:

- name: Publish workflow evidence item uses: cloudbees-io/publish-evidence-item@v1 with: content: | ## Test markup and property rendering - Run ID: ${{ cloudbees.run_id }} - Color test: <span style="color:green">This text should be green</span> format: MARKDOWN

Supported markdown tags

Table 2. Supported Markdown Tags
Markdown Syntax Example Supported

Bullet

- item1

Character codes

&#124;

Code

``` jobs: build: steps: - Compile ```

External content

![Sonny and Mariel high fiving.](https://content.codecademy.com/courses/learn-cpp/community-challenge/highfive.gif)

Formatting

- **bold text** - _italics_ - ~~strike through~~

Header Levels

## Test markup and property rendering

HTML/Color

Hyperlink

[backend.tar](https://ourcompany.com/repo/backend.tar)

Line break

Quotes section

> Context and memory play

Table

Default workflow