Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.3 KB

ontrackCliValidateCHML.md

File metadata and controls

33 lines (26 loc) · 1.3 KB

This step creates a validation run with validation data based on critical/high/medium/low stats.

Parameters

Parameter Type Default Description
project String ONTRACK_PROJECT_NAME environment variable Name of the project in Ontrack to target
branch String ONTRACK_BRANCH_NAME environment variable Name of the branch in Ontrack to target
build String ONTRACK_BUILD_NAME environment variable Name of the build to validate in Ontrack
stamp String Required Name of the validation stamp to set
critical int 0 Number of critical issues
high int 0 Number of high issues
medium int 0 Number of medium issues
low int 0 Number of low issues
status String None Status of the validation. Optional, it will be computed based on the provided data.
logging boolean false Set to true to display debug / logging information while performing the operation.
tracing boolean false Set to true to display low level information while performing the operation.

Outputs

None.

Example

ontrackCliValidateCHML(
        stamp: 'SECURITY',
        critical: 13,
        high: 34,
)