Description
Azure DevOps (formerly Microsoft Team Foundation Server (TFS) or Microsoft TFS) provides services to manage end-to-end flow of a development project. It contains services to share code, track work, and ship software.
Azure DevOps (formerly Microsoft Team Foundation Server (TFS) or Microsoft TFS) provides services to manage end-to-end flow of a development project. It contains services to share code, track work, and ship software.
The Azure DevOps plugin provides for integration with an Azure DevOps server.
This plugin imports work items, commits, pull requests, builds, and deployment data from an Azure DevOps server and saves them as HCL DevOps Velocity issues. The HCL DevOps Velocity synchronizes data with the Azure DevOps server every 5 minutes.
The plugin can also orchestrate the deployments in Azure DevOps from HCL DevOps Velocity.
This plugin requires HCL DevOps Velocity version 2.0 or later.
The Azure DevOps plugin supports scheduled events integration which are listed in the following table.
Name | Description |
---|---|
SyncAzureIssuesEvent | Queries the Azure DevOps server for new or updated work items. |
SyncAzureGitDataEvent | Queries the Query Azure DevOps server for new or updated pull requests and commits. |
SyncAzureBuildsEvent | Queries the Query Azure DevOps server for build data. |
SyncAzureReleaseStatus | Queries the Azure DevOps server for Sync Azure Release Status. |
The Azure Devops Account used to generate the token must have the below permission:
1) Build – Read Permission
2) Code – Read Permission
3) Project and Team – Read Permission
4) Release – Read Permission
5) Work Items – Read Permission
A new hidden field named as Build Tags is added to Azure Plugin for version 4.0.29 and later:
This field can take the comma-separated list to tags that have been added to a pipeline run. If you provide such tags, only the pipeline runs with these specific tags will be pulled to HCL DevOps Velocity as part of SyncAzureBuildsEvent.
This is how you can add tags to your pipeline run in Azure DevOps:
Here, HCL DevOps Velocity is the tag that has been added to the pipeline run.
To install the plug-in, perform the following steps:
To integrate the plug-in using the user interface, perform the following steps:
The JSON file contains the information for creating a value stream. Within the JSON file is a section for integrations. It is in this section that plugin properties can be defined. Refer to the JSON sample code in Configuration Properties section.
To integrate the plug-in using a JSON, perform the following steps:
The following tables describe the properties used to configure the integration. Each table contains the field name when using the user interface and the property name when using a JSON file.
properties
configuration property.Not all configuration properties are initially displayed in the user interface, to see all properties enable the Hidden field.
Name | Description | Required | Property Name |
---|---|---|---|
NA | The version of the plugin that you want to use. To view available versions, click the Version History tab. If a value is not specified, the version named latest is used. | No | image |
Integration Name | An assigned name to the value stream. | Yes | name |
Logging Level | The level of Log4j messages to display in the log file. Valid values are: all, debug, info, warn, error, fatal, off, and trace. | No | loggingLevel |
NA | List of plugin configuration properties used to connect and communicate with the Azure DevOps server. Enclose the properties within braces. | Yes | properties |
The name of the tenant. | Yes | tenant_id | |
NA | Unique identifier assigned to the plugin. The value for the Azure DevOps plugin is ucv-ext-azure |
Yes | type |
Name | Type | Description | Required | Property Name |
---|---|---|---|---|
Access Token | Secure | The access token to authenticate with the Azure DevOps server. You can use either this property or the Password property to authenticate with the server. | No | accessToken |
Organization | String | The name of the Azure organization in which the specified project exists. | Yes | organization |
Password | Secure | The password used to authenticate with the Azure server. Use either this or an access token. | No | password |
Project | String | The name of the Azure DevOps project from which to pull data. | Yes | project |
Branch Name | String | The branch to pull commits from. | No | branchName |
Additional Branches | Array | A comma seperated list of additional branches to collect commits from besides the main one, leave blank if not needed. | No | otherBranches |
Proxy Password | Secure | The password used to authenticate with the proxy server. | No | proxyPassword |
Proxy Server | String | The URL of the proxy server including the port number. | No | proxyServer |
Proxy User Name | String | The user name used to authenticate with the proxy server. | No | proxyUsername |
Repositories | Array | A comma seperated list of repositories from which to import pull request, commit, and build data. | No | repositories |
URL | String | The URL of the Azure DevOps server. | Yes | baseUrl |
User Name | String | The user name to authenticate with the Azure DevOps server. | No | username |
HCL DevOps Velocity User Access Key | Secure | The user access key to authenticate with the HCL DevOps Velocity. | No | ucvAccessKey |
Build Tags | Array | Comma separated list of tags for pushing pipeline runs as build to this server. If kept empty all the pipeline runs will be pushed as builds. | No | tags |
Release Definition Names (Comma Separated Values) | Array | A comma separated list of release names to fetch specific release resources ex: deployments. Note: This field is only applicable for plug-in version 4.0.45 or later |
Yes | releaseDefinitionNames |
This plugin can be used to orchestrate releases in Azure DevOps.
The Azure DevOps plug-in syncs the repositories, builds, pipelines, releases definitions, environments, pipeline runs, and release executions for every five minutes with to HCL DevOps Velocity. An application is created in HCL DevOps Velocity pipeline. A pipeline application is created in HCL DevOps Velocity and map the application in HCL DevOps Velocity. The build that is created after mapping the application appears as version in the Input column of the HCL DevOps Velocity pipeline.
In the following graphic,
The application environment can be added in the HCL DevOps Velocity pipeline. For example, DevShopSphere is the application environment added to DEV environment for the release as shown in the following graphic.
Stage 1 is the release environment in Azure DevOps for the above release definition. The following graphic shows the mapping the Azure DevOps environment in the HCL DevOps Velocity pipeline.
To orchestrate the deployment from HCL DevOps Velocity, select the version using the deploy option as show in the below picture.
A new release is created in Azure DevOps. The deployed version is synced with HCL DevOps Velocity within 5 minutes of deployment as show in the below picture.
Notes
In order to orchestrate the release in Azure using this plug-in, there should be separate release pipelines defined for each stage.
Notes
Plugin supports the release orchestration of:
Plugin does not support release orchestration if the source code is not in Azure, i.e, if the source code is in GitHub or BitBucket, release orchestration from HCL DevOps Velocity is not possible.
You can create an automation task within a release to build and deploy the applications in Azure DevOps.
After the plugin is integrated automated tasks are available to add as a task within a release.
Uploaded: 29-Jan-2025 1:00
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.45
Uploaded: 05-Jul-2024 07:59
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.44
Uploaded: 05-Jul-2024 07:50
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.43
Uploaded: 16-Feb-2023 11:42
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.40
Uploaded: 10-Oct-2022 06:02
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.38
Uploaded: 29-Sep-2022 09:53
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.37
Uploaded: 26-Aug-2022 09:38
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.36
Uploaded: 17-Aug-2022 08:00
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.35
Uploaded: 02-May-2022 15:50
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.29
Uploaded: 08-Apr-2022 06:10
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.28
Uploaded: 08-Mar-2022 13:09
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.26
Uploaded: 03-Dec-2021 13:10
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.16
Uploaded: 01-Dec-2021 16:18
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.15
Uploaded: 30-Sep-2021 05:32
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.3
Uploaded: 29-Jul-2021 11:25
docker pull hclcr.io/accelerate/ucv-ext-azure:4.0.1
Uploaded: 02-Jul-2021 14:14
docker pull hclcr.io/accelerate/ucv-ext-azure:3.0.1
Uploaded: 23-Jun-2021 05:58
docker pull hclcr.io/accelerate/ucv-ext-azure:2.0.17
Uploaded: 03-May-2021 13:26
docker pull hclcr.io/accelerate/ucv-ext-azure:2.0.14
Uploaded: 08-Feb-2021 07:31
docker pull hclcr.io/accelerate/ucv-ext-azure:2.0.4