jx step syntax validate pipeline

list of jx commands

jx step syntax validate pipeline

Validates a pipeline YAML file

Synopsis

Validates the pipeline YAML file in the current directory for the given context, or jenkins-x.yml by default

jx step syntax validate pipeline [flags]

Examples

  # validates the jenkins-x.yml in the current directory
  jx step syntax validate pipeline
  
  # validates the jenkins-x-bdd.yml file in the current directory
  jx step syntax validate pipeline --context bdd

Options

  -c, --context string   The context for the pipeline YAML to validate instead of the default.
  -d, --dir string       The directory to query to find the pipeline YAML file
  -h, --help             help for pipeline

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input (default true)
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 30-Jun-2020

Last modified August 14, 2020: release 0.0.1853 (a7b91ef)