Is there a way to set variables in variable groups

前端 未结 2 377
一向
一向 2020-11-30 12:55

I\'m trying to share version information from different pipelines to later use them to create a release config in a release pipeline. So basically I need to share informatio

2条回答
  •  既然无缘
    2020-11-30 13:58

    Could be done via the Azure devops CLI.

    Create the powershell task:

    echo $env:AZURE_DEVOPS_EXT_PAT | az devops login
    az devops configure -d organization=https://dev.azure.com// project=
    
    az pipelines variable-group variable update --id  --name  --value 
    
    

    and also create the variable in the task like so

提交回复
热议问题