colindembovsky / cols-agent-tasks

Colin's ALM Corner Custom Build Tasks
MIT License
83 stars 65 forks source link

Tag Build or Release 'A supported task execution handler was not found.' error on TFS 2018 #180

Closed pm90pl closed 2 years ago

pm90pl commented 2 years ago

Task: Tag Build or Release Version : 0.1.152 TFS 2018 Agent ver. 2.136.1

After upgrade from ver 0.1.114 to the current (0.1.152) following error occurs on Tag Build or Release task: A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows'. Contact the task author for more details.

The tasks were upgraded to Node10 - this version is available since agent ver 2.144. In that case, an additional requirement should be added: "minimumAgentVersion": "2.144.0"

Source: http://blog.majcica.com/2018/12/04/node10-provider-available-for-agent-v2-144-0/

WoodyWoahzay commented 2 years ago

Same issue as above.

spangeman commented 2 years ago

Getting the same issue, is there a way to revert back to using 0.1.114 somehow while we wait for a fix?

TudorPrunici commented 2 years ago

I have the same problem in all projects. Namely in task Replace Tokens

WoodyWoahzay commented 2 years ago

Does anyone have a workaround or can recommend a different extension to use?

Sacrilege commented 2 years ago

I can confirm that upgrading the agents fixes the issue.

TudorPrunici commented 2 years ago

Getting the same issue, is there a way to revert back to using 0.1.114 somehow while we wait for a fix?

how do i make it? i don't find this in tfs

spangeman commented 2 years ago

I can also confirm updating your build agent fixes this issue. Note that if you are on TFS 2018 and try to use the Download link within TFS for updating the agent you will get an out of date agent. You need to use https://github.com/microsoft/azure-pipelines-agent/releases.

Also note that you may have separate agents for your build and release, they will both need to be updated. You can see which version of the agent is running in your build and/or release logs at the very start of the log text.

colindembovsky commented 2 years ago

Thanks @spangeman for the confirmation. I upgraded to Node10 runner because the older runner is deprecated. Didn't know that the TFS 2018 agents were "old" - but to be fair, that's a server version that's 4 years old now!