From 933ee55ea667d218eff6c55c2be1be31a93cf32c Mon Sep 17 00:00:00 2001 From: Julia Kulla-Mader Date: Thu, 2 Sep 2021 12:41:58 -0400 Subject: [PATCH 1/4] Updating title to fix issue --- docs/pipelines/create-first-pipeline.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pipelines/create-first-pipeline.md b/docs/pipelines/create-first-pipeline.md index 0e585688c3c..a587e25f220 100644 --- a/docs/pipelines/create-first-pipeline.md +++ b/docs/pipelines/create-first-pipeline.md @@ -6,7 +6,7 @@ ms.topic: conceptual ms.assetid: 038A5329-1B8F-46D9-A0C3-DA3FCFA43996 ms.author: sdanie author: steved0x -ms.date: 08/20/2021 +ms.date: 09/02/2021 monikerRange: '>= tfs-2017' --- @@ -1464,8 +1464,8 @@ To learn more about build pipeline settings, see: ::: moniker range="azure-devops" -### Can I use a single command at the command line to run multiple pipelines in Azure DevOps Services? +### Can I run multiple pipelines in Azure DevOps Services using a single command? -Currently, the Azure CLI and Azure APIs don't offer commands that run multiple pipelines from the command line. You can use [Azure CLI commands](/cli/azure/pipelines) to list all pipelines and definitions and provide a *single* release or build ID as a parameter. All commands are designed to work for independent runs of independent pipelines, and they require unique ID requests that allow only one, unique value. To learn about pipeline triggers, see [Specify events that trigger pipelines](./build/triggers.md). +Currently, the Azure CLI and Azure APIs doesn't offer commands that run multiple pipelines from the command line. You can use [Azure CLI commands](/cli/azure/pipelines) to list all pipelines and definitions and provide a *single* release or build ID as a parameter. All commands are designed to work for independent runs of independent pipelines, and they require unique ID requests that allow only one, unique value. To learn about pipeline triggers, see [Specify events that trigger pipelines](./build/triggers.md). ::: moniker-end From 1bda120eec3b150894221c5043eabcda1ebebcdd Mon Sep 17 00:00:00 2001 From: Julia Kulla-Mader Date: Thu, 2 Sep 2021 12:52:28 -0400 Subject: [PATCH 2/4] adding more cli params --- docs/pipelines/create-first-pipeline.md | 5 +++++ docs/pipelines/includes/prerequisites.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/pipelines/create-first-pipeline.md b/docs/pipelines/create-first-pipeline.md index a587e25f220..e86ee5d29e0 100644 --- a/docs/pipelines/create-first-pipeline.md +++ b/docs/pipelines/create-first-pipeline.md @@ -330,6 +330,7 @@ az pipelines update [--branch] - **queue-id**: Queue ID of the agent pool where the pipeline needs to run. - **yaml-path**: Path of the pipeline's yaml file in the repo. +There are also global parameters you can use, including `output -o`. Global parameters include `debug`, `help`, `only-show-errors`, `query`, `output` and `verbose`. #### Example The following command updates the pipeline with the **ID** of 12 with a new name and description and shows the result in table format. @@ -353,6 +354,8 @@ az pipelines show [--folder-path] [--open] [--org] [--project] + [--query-examples] + [--subscription] ``` #### Parameters @@ -363,6 +366,8 @@ az pipelines show [--folder-path] - **open**: Open the pipeline summary page in your web browser. - **org**: Azure DevOps organization URL. You can configure the default organization using `az devops configure -d organization=ORG_URL`. Required if not configured as default or picked up using `git config`. Example: `--org https://dev.azure.com/MyOrganizationName/`. - **project**: Name or ID of the project. You can configure the default project using `az devops configure -d project=NAME_OR_ID`. Required if not configured as default or picked up using `git config`. +- **query examples**: Recommend a JMESPath string for you. +- **subscription**: Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`. #### Example diff --git a/docs/pipelines/includes/prerequisites.md b/docs/pipelines/includes/prerequisites.md index beff251adc5..31cd4b78929 100644 --- a/docs/pipelines/includes/prerequisites.md +++ b/docs/pipelines/includes/prerequisites.md @@ -9,7 +9,7 @@ ms.date: 02/13/2020 * A GitHub account, where you can create a repository. If you don't have one, you can [create one for free](https://github.com). -* An Azure DevOps organization. If you don't have one, you can [create one for free](../get-started/pipelines-sign-up.md). (An Azure DevOps organization is different from your GitHub organization. Give them the same name if you want alignment between them.) +* An Azure DevOps organization. If you don't have one, you can [create one for free](../get-started/pipelines-sign-up.md). (An Azure DevOps organization is different from your GitHub organization. You can give your DevOps organization and your GitHub organization the same name if you want alignment between them.) If your team already has one, then make sure you're an administrator of the Azure DevOps project that you want to use. From a6645acb355b4c715fafc4e48d86bb2a8777ffc2 Mon Sep 17 00:00:00 2001 From: Julia Kulla-Mader Date: Thu, 2 Sep 2021 13:30:36 -0400 Subject: [PATCH 3/4] adding classic link and updating article title --- docs/pipelines/create-first-pipeline.md | 9 +++++++-- .../release/define-multistage-release-process.md | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/pipelines/create-first-pipeline.md b/docs/pipelines/create-first-pipeline.md index e86ee5d29e0..de3ec87be4e 100644 --- a/docs/pipelines/create-first-pipeline.md +++ b/docs/pipelines/create-first-pipeline.md @@ -16,7 +16,7 @@ monikerRange: '>= tfs-2017' ::: moniker range="azure-devops" -This is a step-by-step guide to using Azure Pipelines to build a GitHub repository. +This is a step-by-step guide to using Azure Pipelines to build a GitHub repository. This guide uses YAML pipelines configured with the [YAML pipeline editor](get-started/yaml-pipeline-editor.md). If you'd like to use Classic pipelines instead, see [Define your Classic pipeline](release/define-multistage-release-process.md). ## Prerequisites - Azure DevOps @@ -330,7 +330,12 @@ az pipelines update [--branch] - **queue-id**: Queue ID of the agent pool where the pipeline needs to run. - **yaml-path**: Path of the pipeline's yaml file in the repo. -There are also global parameters you can use, including `output -o`. Global parameters include `debug`, `help`, `only-show-errors`, `query`, `output` and `verbose`. + Global parameters include `debug`, `help`, `only-show-errors`, `query`, `output` and `verbose`. + +> [!TIP] +> There are also global parameters you can use such as `--output`. +> The `--output` parameter is available for all commands. The **table** value presents output in a friendly format. For more information, see [Output formats for Azure CLI commands](/cli/azure/format-output-azure-cli). + #### Example The following command updates the pipeline with the **ID** of 12 with a new name and description and shows the result in table format. diff --git a/docs/pipelines/release/define-multistage-release-process.md b/docs/pipelines/release/define-multistage-release-process.md index 4809ff119fd..758768cf78d 100644 --- a/docs/pipelines/release/define-multistage-release-process.md +++ b/docs/pipelines/release/define-multistage-release-process.md @@ -1,16 +1,16 @@ --- -title: Define a multi-stage CD release pipeline +title: Define a Classic release pipeline ms.custom: seodec18 description: DevOps CI CD - Define a multi-stage continuous deployment (CD) pipeline for your ASP.NET Core app using Azure Pipelines ms.assetid: 12F57ADB-49B9-4E21-A346-5EDB1D1EC2F7 ms.topic: tutorial ms.author: ronai author: RoopeshNair -ms.date: 09/16/2020 +ms.date: 09/02/2021 monikerRange: '>= tfs-2015' --- -# Define your multi-stage continuous deployment (CD) pipeline +# Define your Classic pipeline [!INCLUDE [version-tfs-2015-rtm](../includes/version-tfs-2015-rtm.md)] From b357f8efcd87f0b988f22d5842f8cc9b31f129e9 Mon Sep 17 00:00:00 2001 From: Julia Kulla-Mader Date: Thu, 2 Sep 2021 15:33:58 -0400 Subject: [PATCH 4/4] Fixing first sentence --- docs/pipelines/create-first-pipeline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pipelines/create-first-pipeline.md b/docs/pipelines/create-first-pipeline.md index de3ec87be4e..7dedfca488f 100644 --- a/docs/pipelines/create-first-pipeline.md +++ b/docs/pipelines/create-first-pipeline.md @@ -16,7 +16,7 @@ monikerRange: '>= tfs-2017' ::: moniker range="azure-devops" -This is a step-by-step guide to using Azure Pipelines to build a GitHub repository. This guide uses YAML pipelines configured with the [YAML pipeline editor](get-started/yaml-pipeline-editor.md). If you'd like to use Classic pipelines instead, see [Define your Classic pipeline](release/define-multistage-release-process.md). +This is a step-by-step guide to using Azure Pipelines to build a sample application. This guide uses YAML pipelines configured with the [YAML pipeline editor](get-started/yaml-pipeline-editor.md). If you'd like to use Classic pipelines instead, see [Define your Classic pipeline](release/define-multistage-release-process.md). ## Prerequisites - Azure DevOps