jx pipeline lint

jx pipeline lint

Lints the lighthouse trigger and tekton pipelines

Usage

jx pipeline lint

Synopsis

Lints the lighthouse trigger and tekton pipelines

Examples

# Lints the lighthouse files and local pipeline files
jx pipeline lint

Options

      --catalog-owner string   The github owner for the default catalog (default "jenkins-x")
      --catalog-repo string    The github repository name for the default catalog (default "jx3-pipeline-catalog")
  -d, --dir string             The directory to look for the .lighthouse and/or .git folders (default ".")
      --format string          If specify 'tap' lets use the TAP output otherwise use simple text output
      --git-kind string        the kind of git server to connect to
      --git-server string      the git server URL to create the scm client
      --git-token string       the git token used to operate on the git repository. If not specified it's loaded from the git credentials file
      --git-username string    the git username used to operate on the git repository. If not specified it's loaded from the git credentials file
  -h, --help                   help for lint
  -o, --out string             The TAP format file to output with the results. If not specified the tap file is output to the terminal
  -r, --recursive              Recurisvely find all '.lighthouse' folders such as if linting a Pipeline Catalog

SEE ALSO

  • jx pipeline - commands for working with Jenkins X Pipelines
Auto generated by spf13/cobra on 9-Apr-2021


Last modified April 9, 2021: chore: regenerated plugin docs (70b8c8b237)