WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx get environments
list of jx commands
jx get environments
Display one or more Environments
Synopsis
Display one or more environments.
See Also:
- jx get previews : https://jenkins-x.io/commands/jx_get_previews
jx get environments [flags]
Examples
# List all environments
jx get environments
# List all environments using the shorter alias
jx get env
Options
-h, --help help for environments
-o, --output string The output format such as 'yaml'
-p, --promote string Filters the environments by promotion strategy. Possible values: Auto, Manual, Never
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 get - Display one or more resources
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)