To fulfill compliance requirements, configure workflows to publish run evidence information to the workflow run details. Begin by adding an evidence step to a workflow. Workflow run evidence is viewable as part of the workflow run details.
Prerequisites
Check that you have added the appropriate action to your workflow to collect evidence data:
If your workflow is: | Required action to collect evidence |
---|---|
CloudBees platform workflow |
|
GHA workflow |
Add an evidence publication step to a workflow
-
Add a step to a workflow that calls one of the required actions.
-
Trigger a workflow run. The workflow run evidence information is published to the Evidence tab of the Run Details page.
View workflow run evidence
-
Select
, and then select an organization, sub-organization, or component.
-
Select Runs from the left pane. The Runs list displays the workflow runs for the selected organization or component.
-
Select the name link of the event that started the workflow run. The Run details displays.
-
Select the Evidence tab in the right pane. The Evidence tab displays.
Figure 1. Evidence
-
Use these features to locate evidence data.
-
Switch between the graphical and outline workflow view by selecting
.
-
Select a job that contains evidence in the left panel.
-
-
Use these features to review evidence details.
-
Switch evidence view format by selecting Raw.
-
Download the job evidence by selecting
.
-
Copy job evidence selecting
.
-