Open icnocop opened 5 years ago
Hi.
I want to abort a build as succeeded, but adding the following inline PowerShell script in a vNext build in TFS 2015 Update 4 didn't work as expected:
Write-Host “##vso[task.setvariable variable=agent.jobstatus;]canceled” Write-Host “##vso[task.complete result=Canceled;]DONE”
The build was indicated as having failed.
Which versions of TFS/VSTS should be supported?
Thank you.
I only tested this against latest VSTS/Azure DevOps/Azure Pipelines. I don't have TFS2015 for testing.
Hi.
I want to abort a build as succeeded, but adding the following inline PowerShell script in a vNext build in TFS 2015 Update 4 didn't work as expected:
The build was indicated as having failed.
Which versions of TFS/VSTS should be supported?
Thank you.