jx environment

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 (default true)
      --verbose      Enables verbose output

SEE ALSO

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

Last modified January 22, 2020: release 0.0.1424 (0261d65)