Update the Azure Release Variable value in PowerShell
问题 I have Release Variable $(ecomm) = Yes, in Azure Release Pipeline Through Powershell, i want to update the value of $(ecomm) = No Write-Host "Before update: "$(ecomm) Write-Host "##vso[task.setvariable variable=ecomm;]No" Write-Host "After update: "$(ecomm) But the value is not updating. Can you please help me on this. Thanks in advance. 回答1: Repcak is correct. When you use the logging command to set variables in Powershell, you can only change the value of the variable in Pipeline Run