happytal / substitute-variables

Azure DevOps task for substituting variables in plain JSON and YAML files
MIT License
1 stars 0 forks source link

Getting this error on an on premise TFS release #10

Closed spangeman closed 2 years ago

spangeman commented 2 years ago

2021-12-02T09:19:31.4878625Z ##[section]Starting: Substitute variables 2021-12-02T09:19:31.4881951Z ============================================================================== 2021-12-02T09:19:31.4882091Z Task : Substitute Variables 2021-12-02T09:19:31.4882216Z Description : Apply variable substitution to JSON and YAML files. 2021-12-02T09:19:31.4882318Z Version : 1.1.0 2021-12-02T09:19:31.4882405Z Author : happytal 2021-12-02T09:19:31.4882524Z Help : https://github.com/happytal/substitute-variables 2021-12-02T09:19:31.4882639Z ============================================================================== 2021-12-02T09:19:31.5105492Z ##[error]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. 2021-12-02T09:19:31.5127373Z ##[section]Finishing: Substitute variables

spangeman commented 2 years ago

Solved my own problem, the solution is to update the build and release agents.

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.