Validate YAML

JFrog Pipelines Documentation

ft:sourceType
Paligo

Before adding a pipeline source, you have the option of validating your pipelines, resources, and values YAMLs and then committing it to the SCM. This enables you to get instant feedback on pipeline sync errors. The YAML validator validates your YAML for both semantic and syntactic errors.

To validate your YAML:

  1. Click Validate YAML.

  2. Either enter the YAML and paste the YAML contents in the Pipelines YAML and Resources YAML fields. If you have a values YAML, enter the YAML contents in the Values YAML field. For more information about the Pipelines DSL, see Defining a Pipeline.

    As the YAML content is entered, it is validated and syntactic errors, if any, are displayed.

  3. After fixing all the syntactic errors, click Validate to validate the YAML for semantic errors.

180127356.png