jessehouwing / azure-pipelines-tfvc-tasks

Azure Pipelines tasks for Team Foundation Version Control
https://marketplace.visualstudio.com/items?itemName=jessehouwing.jessehouwing-vsts-tfvc-tasks
MIT License
28 stars 17 forks source link

Check-in changes broken following VSTS rebranding to Azure DevOps #71

Closed roizentner closed 6 years ago

roizentner commented 6 years ago

Hi,

Since Microsoft's announcement of the VSTS rebranding into Azure DevOps, the task is throwing the following exception:

##[error]System.Collections.Generic.KeyNotFoundException: The service endpoint Votiro was not found
    at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)

Please advise.

jessehouwing commented 6 years ago

Update your agent.

roizentner commented 6 years ago

I updated to the latest (v2.140.0) agent as you suggested and I can confirm it works... Do you know what change made old agents stop supporting your task?

jessehouwing commented 6 years ago

The agent forgot to set the required variables for the legacy powershell hander to work

roizentner commented 6 years ago

Interesting. How could've that happened if I haven't updated my agent?

Thanks for the tip anyway!