Overview
The Feature type holds a message that was detected during a build or extracted from a build artifact with a post-processor. Features are used for error, warning and information messages. Each feature also includes the context in which the feature was found. For example, a feature found in an artifact would include details of the stage, command, artifact and file in which it was located. The fields that hold this context information will not be present when the context is not applicable.
Properties
| Property |
Type |
Description |
| level |
string |
The type of feature, one of "error", "warning" or "info". |
| message |
string |
The feature message, which may be multi-line if captured from an artifact with context. |
| stage |
string |
Name of the build stage that the feature was found in, not present if the feature refers to the entire build. |
| command |
string |
Name of the command that the feature was found in, not present if the feature was not specific to a command. |
| artifact |
string |
Name of the artifact that the feature was extracted from, not present if the feature was not found in an artifact. |
| path |
string |
Path of the artifact file that the feature was extracted from, not present if the feature was not found in an artifact. |