Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Checklist

Description

Azure Tenant Id

Azure Tenant Id for the company

Azure Subscription Id

Azure Subscription where the Web App exists

Azure Client ID

Client ID to connect to desired Azure Subscription

Azure Client Key

Password for the Client ID

Azure CLI installation

Azure CLI needs to be installed on the Target where the plugin operation shall run.

Please see https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=dnf for information on installing the azure-cli package.

Azure CLI in class path

Azure CLI should be added to the classpath in target. Else the path can also be set under FlexDeploy environment level property

Azure PowerShell

Azure PowerShell needs to be installed on Windows OS and path should be added to the classpath in target m/c. Please refer to https://learn.microsoft.com/en-us/powershell/azure/install-azps-windows?view=azps-10.0.0&tabs=powershell&pivots=windows-psgallery

...

Build Workflow

Navigate to the Workflows tab and create a build workflow using the +”(Click to create new Workflow) (blue star) button as highlighted below.

...

Next, create one Build workflow as shown below. The workflow Type field defines the type of workflow.

Build Workflow

  1. Navigate to the Workflows Tab

  2. Select the “+” button from the left-hand pane to create a new workflow with type as Build.

...

The Workflow Group and Subgroup define the folder hierarchy. Once both workflows are created it should look like the below. No constraint on workflow or folder naming convention.

...

The steps of the workflow execution can be configured through the Workflow Definition section.

...

Below is a sample build workflow to copy and execute the script.

...

 Step-i: Clone Git Repository

...

Code Snippet field is mandatory, we can select the type of CLI from the drop-down. Available options are shell, PowerShell, and WindowsShell. The default CLI type is the shell.

...

Project

...

Configuration

Project Detail

Navigate to the Project tab and create a Project with a logical name(Azure-Command in this case)

...