jx pipeline fmt

Formats the local pipeline files

Usage

jx pipeline fmt

Synopsis

Formats the local pipeline files

  • removes any unnecessary parameters
  • converts any shell commands to use ‘script:’ notation

Examples

# Formats the local pipeline files
jx pipeline fmt

Options

  -d, --dir string   The directory to look for the tekton YAML files (default ".lighthouse")
  -h, --help         help for fmt
      --sha string   The git commit SHA of the pipeline catalog repository https://github.com/jenkins-x/jx3-pipeline-catalog. If not specified we clone git and find it

Source

jenkins-x-plugins/jx-pipeline


Last modified April 20, 2021: chore: regenerated plugin docs (412f8f1671)