jx environment

list of jx commands

jx environment

View or change the current environment in the current Kubernetes cluster

Synopsis

Displays or changes the current environment.

For more documentation on Environments see: https://jenkins-x.io/about/features/#environments

jx environment [flags]

Examples

  # view the current environment
  jx env -b
  
  # pick which environment to switch to
  jx env
  
  # Change the current environment to 'staging'
  jx env staging

Options

  -h, --help   help for environment

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --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

  • jx - jx is a command line tool for working with Jenkins X
Auto generated by spf13/cobra on 2-Sep-2020