Passing release variables between two agent phases

前端 未结 4 1410
情歌与酒
情歌与酒 2020-12-17 19:31

I\'m working with TFS on-premise. My issue is that during a release I have two agent phases separated by a manual intervention.

In the first agent phase, I set a var

4条回答
  •  无人及你
    2020-12-17 20:04

    There is no way to persist variables (no matter powershell variables or VSTS user defined variables) between two agent phases (and environments) for now.

    And there is a related issue Variables set via logging commands are not persistent between agents, you can follow up.

    The work around for now is define the variable again in next agent phase.

提交回复
热议问题