...
Info |
---|
This page is for running MettleCI COMPLIANCE RULES. If you're looking for the Asset Queries typically used in a MettleCI Report Card then please see the Compliance Query Command. |
Info |
---|
The ‘tags’ feature documented on this page is available in MettleCI releases greater than v1.1 |
...
The command line implementation of the Compliance Test functionality enables the production of a Compliance Results report of the specified assets against the specified set of MettleCI Compliance Rules.
For more information on using the -project-cache
parameter see our detailed explanation.
...
This example produces an output file compliance.csv
in the current directory which looks like this (formatted here for clarity):
asset | assetType | test | duration | result | message |
---|---|---|---|---|---|
TestJob_0921 | PARALLEL_JOB | Adjacent Transformers | 0.046 | Success | |
---< rows redacted for brevity >--- | |||||
TestJob_0921 | PARALLEL_JOB | Debug Row Limit | 0.016 | Success | |
TestJob_0921 | PARALLEL_JOB | Default Naming | 0.015 | Failure | PxRowGenerator 'Row_Generator_0' uses DataStage's default naming. Please provide a meaningful name meeting naming standards. |
TestJob_0921 | PARALLEL_JOB | Hardcoded File Paths | 0.016 | Success | |
---< rows redacted for brevity >--- | |||||
TestJob_0930 | PARALLEL_JOB | Debug Row Limit | 0 | Success | |
TestJob_0930 | PARALLEL_JOB | Default Naming | 0 | Failure | PxRowGenerator 'Row_Generator_0' uses DataStage's default naming. Please provide a meaningful name meeting naming standards. |
TestJob_0930 | PARALLEL_JOB | Hardcoded File Paths | 0.016 | Success | |
---< rows redacted for brevity >--- | |||||
TestJob | PARALLEL_JOB | Debug Row Limit | 0 | Success | |
TestJob | PARALLEL_JOB | Default Naming | 0 | Failure | PxRowGenerator 'Row_Generator_0' uses DataStage's default naming. Please provide a meaningful name meeting naming standards. |
TestJob | PARALLEL_JOB | Hardcoded File Paths | 0 | Success | |
---< rows redacted for brevity >--- | |||||
TestJob | PARALLEL_JOB | Unique Sort | 0 | Success |
See Also
For a discussion on the use of the
include-tags
andexclude-tags
options see Compliance Rule Tags.