Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Define default configuration from environment variable #1212

Open
ggirard07 opened this issue Oct 13, 2021 · 0 comments · May be fixed by #1415
Open

[Feature Request] Define default configuration from environment variable #1212

ggirard07 opened this issue Oct 13, 2021 · 0 comments · May be fixed by #1415
Labels
Feature Feature Work required.

Comments

@ggirard07
Copy link

Is your feature request related to a problem? Please describe.
Unable to define default configuration for current process context only.
This is especially useful when running on an Azure build agent which might be running multiple pipelines concurrently.

Describe the solution you'd like
Support defining default configuration from environment, as supported by Azure CLI.
Experience should looks like:

  1. $ az login
  2. $ export AZURE_DEVOPS_EXT_DEFAULTS_ORGANIZATION=https://dev.azure.com/myorg
  3. $ az repos list --project myproject --detect false

Additional context
Originally reported as a bug in #1121, but turned out to be a feature request according to latest comment.

@ggirard07 ggirard07 added the Feature Feature Work required. label Oct 13, 2021
samcarswell added a commit to samcarswell/azure-devops-cli-extension that referenced this issue Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature Work required.
Projects
None yet
1 participant