Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-model-definition-plugin
-
Labels:
-
Similar Issues:
-
Sprint:Declarative - 1.2
Description
Right now, all validation for Declarative is hardcoded in ModelValidatorImpl. This means that an extension of, say, DeclarativeAgent or DeclarativeStageConditional can't require any specific validation unless it's in pipeline-model-definition and we add it to ModelValidatorImpl. I'd suggest we add an extension point for contributing more validation checks.
Attachments
Issue Links
- links to
PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/179