Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Updated Azure CLI commands #36

Closed
wants to merge 2 commits into from
Closed

Updated Azure CLI commands #36

wants to merge 2 commits into from

Conversation

robece
Copy link

@robece robece commented Aug 13, 2020

  • Updated missing parameters in Azure CLI execution for pipelines and variable-groups.
  • Updated master name to main name.

@@ -134,6 +134,8 @@ TENANT_ID=
SUBSCRIPTION_ID=
ACR_NAME=
ACR_PASSWORD=
ORGANIZATION=https://dev.azure.com/your-organization
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @robece there is no need to add organization and project on every az command. if you run the following command to configure azure devops CLI: az devops configure --defaults organization=https://dev.azure.com/your-organization project=YourProject. This command is already on the Getting Started section.

--yml-path pipelines/azure-pipelines.docker.yml
--organization $ORGANIZATION \
--project $PROJECT \
--repository-type tfsgit --branch main \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robece loved the approach to set main branch as default with the --repository-type tfsgit --branch main command option. Thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove the --organization and --project from the command?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it on #45. Thanks @robece

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants