Schedule a Azure devops release in multiple timing by passing different VariableGroup

前端 未结 1 599
旧时难觅i
旧时难觅i 2021-01-27 16:26

I am able to schedule a release in multiple timing by using below script

    $timinglist=@(1:30,2:30,3:30)

       $PATtoken= \'PAT\'
       Write-Host \"Initial         


        
1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 16:44

    You should use task groups, environments, and variable groups to accomplish this.

    You define a task group that has the actions that you want to reuse.

    You use that task groups in many different stages within a single release. Each release stage can be tied to a different task group. Then you just call the REST API to trigger a deployment of the correct stage.

    0 讨论(0)
提交回复
热议问题