JUnit

JUnit is a builtin action, you can’t modify it.

This action parses a given Junit formatted XML file to extract its test results.

Parameters

Requirements

No Requirement

YAML example

Example of a pipeline using JUnit action:

version: v1.0
name: Pipeline1
stages:
- Stage1
jobs:
- job: Job1
  stage: Stage1
  steps:
  - jUnitReport: '{{.cds.workspace}}/report.xml'

Example

img

img

img