qetza / replacetokens-task

Azure Pipelines task to replace tokens in files with variables.
MIT License
11 stars 2 forks source link

Extension not working with x64 agent on vsts #13

Closed AhmadHassanSahi closed 5 months ago

AhmadHassanSahi commented 5 months ago

Facing this: A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.

qetza commented 5 months ago

Hi @AhmadHassanSahi, Thanks for reporting the issue. I don't think the issue is the operating system as i'm running tests on linux, macos and windows but i found that the minimum agent version was incorrectly set on the new version 6 of the task (fix incoming) due to an issue on some Microsoft documentation.

Could you provide me some more information on your environment:

AhmadHassanSahi commented 5 months ago

@qetza

  1. Agent Below Agent

  2. I am running Replace Token task 6

qetza commented 5 months ago

Hi @AhmadHassanSahi, The issue is that the agent 2.181.2 doesn't support node16 execution handler which is the only one supported with the version 6 of the task.

I've already pushed a PR to fix the minimum agent version of the version 6 to 2.206.1.

In your case i see 2 options:

  1. upgrade your agent to at least version 2.206.1
  2. use version 5 of the task which has a minimum agent version of 2.144.0
AhmadHassanSahi commented 5 months ago

@qetza Thankyou for your quick response. I really appreciate it. I have tried with Task Version 5. its running successfully.