jx gitops variables
Lazily creates a .jx/variables.sh script with common pipeline environment variables
Usage
jx gitops variables
Synopsis
Lazily creates a .jx/variables.sh script with common pipeline environment variables
Examples
# lazily create the .jx/variables.sh file
jx-gitops variables
Options
--app string Name of the app or repository
--build-number string the build number to use. If not specified defaults to $BUILD_NUMBER
--commit commit variables.sh (default true)
--configmap string the ConfigMap used to load environment variables (default "jenkins-x-docker-registry")
--dir string the directory to search for the .git to discover the git source URL (default ".")
-f, --file string the default variables file to lazily create or enrich (default ".jx/variables.sh")
--git-kind string the kind of git server to connect to
--git-server string the git server URL to create the git provider client. If not specified its defaulted from the current source URL
--git-token string the git token used to operate on the git repository
--git-user-email string the user email to git commit
--git-user-name string the user name to git commit
-h, --help help for variables
--namespace string the namespace to look for the dev Environment. Defaults to the current namespace
-n, --repo-name string the name of the helm chart to release to. If not specified uses JX_CHART_REPOSITORY environment variable (default "release-repo")
-u, --repo-url string the URL to release to
--version-file string the file to load the version from if not specified directly or via a $VERSION environment variable. Defaults to VERSION in the current dir
Source
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 January 11, 2023: chore: regenerated plugin docs (12059f82a8)