Azure DevOps Distribute Taskgroups, Variablegroups and Service connections

Introduction

I have developed an Azure DevOps Extension along with my senior colleague Michael Bentley (Developer Enabling Services for Azure(DESA) team) in leading Dutch Bank’s Center of Expertise Department.

We thought this extension could have been helpful for wider Azure DevOps community hence we published our extension with documentation in Microsoft Azure DevOps Marketplace. Please refer our communication with Microsoft community regarding community developers expectations on it.

DES Azure Distribution Tasks Azure DevOps extension is a set of Build and Release tasks to distribute one or more Taskgroups, Variablegroups and Service connections to one or more Azure DevOps Team projects within the same organisation.

Based on feedback on extension received from various developers on Azure DevOps Marketplace, I am witting this post to give sample reference files in order to create your own Taskgroups, Variablegroups and Service connections(service endpoint) to communicate with external system like Splunk, SonarCloud, GitHub etc.

There are two ways to use this extension i.e. Classic UI and Pipeline as a code(yaml). I have already written documentation on Classic UI approach as part of extension before. However in this post I would explain it using another approach i.e. Pipeline as a Code.

This extension has a feature to displays the dashboard summary of distributed taskgroups, variablegroups and service connection after execution of pipelines in order to check how many files and projects successfully processed!

Extension main Functionality

DES Azure Distribution Task extension has below functionality as Run Type i.e Selecting source as Folder and Files and distributing to all, specific or excluded teams only.

  • Folder
    • Distribution to all teams
      This option allows distribution of all files present in Taskgroups, Variablegroups or Serviceconnection folders to all teams present in a Azure DevOps organization 
    • Distribution to specific teams
       This option allows distribution of all files present in Taskgroups, Variablegroups or Serviceconnection folders to only specific teams mentioned by comma(,) separated present in a Azure DevOps organization 
    • Distribution to all teams except
      This option allows distribution of all files present in Taskgroups, Variablegroups or Serviceconnection folders to all teams except couple of comma(,) separated list of teams present in a Azure DevOps organization
  • Files
    • Distribution to all teams
      This option allows distribution of selected files mentioned by comma separated list present in Taskgroups, Variablegroups or Serviceconnection folders to all teams present in a Azure DevOps organization
    • Distribution to specific teams
      This option allows distribution of selected files mentioned by comma separated list present in Taskgroups, Variablegroups or Serviceconnection folders to only specific teams mentioned by comma(,) separated present in a Azure DevOps organization
    • Distribution to all teams except
      This option allows distribution of selected files mentioned by comma separated list present in Taskgroups, Variablegroups or Serviceconnection folders to all teams except couple of comma(,) separated list of teams present in a Azure DevOps organization
  • Deny Contributor Edit Permission
    The optional permission parameter used to Deny the Contributor role Edit permission on distributed task groups

Click here to find more details of documentation on DES Azure Distribution Task extension

Azure DevOps Marketplace

Download and install DES Azure Distribution Tasks extension from Microsoft Azure DevOps Marketplace and install in your organization.

Usage: As a part of Classic UI Pipelines

Azure DevOps Extension for Distribute Tasks in Classic UI Pipeline 

Usage: As a part of Pipeline as a Code

Azure DevOps Extension for Distribute Tasks in Pipeline as a Code(Yaml) 

GitHub Source 

The reference files(json) for variable group, taskgroup and service connection/service endpoint are available on GitHub repository.

Other Related Articles

Leave a Reply