This step creates a validation run with validation data based on a map of metrics.
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 |
metrics |
Map<String,Double> | Required | List of metrics |
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. |
None.
ontrackCliValidateMetrics(
stamp: 'COVERAGE',
metrics: [
ui: 85,
backend: 56.8,
]
)