cake-build/cake-vso

Warning on task execution handler.

richardgavel opened this issue ยท 3 comments

I am seeing a warning on the Cake Azure DevOps task (0.3.0) about a deprecated capability:

##[warning]Task 'Cake' (0.3.0) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib

FYI, looks like beyond that it causes a blocking issue as well

##[error]Task 'Cake' is using legacy execution handler 'Microsoft.VisualStudio.Services.Agent.Worker.PowerShellHandlerData' which is not supported in container execution flow.

It looks like the key thing that might be needed is to change the task.json to reference the PowerShell3 task execution type (see here https://github.com/rfennell/AzurePipelines/blob/master/Extensions/GenerateReleaseNotes/GenerateReleaseNotesTask/task.json#L193)

๐ŸŽ‰ This issue has been resolved in version 0.4.0 ๐ŸŽ‰

The release is available on:

Your GitReleaseManager bot ๐Ÿ“ฆ๐Ÿš€