You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my tasks to the versions as specified, and added the execution for Node20_1 as suggested. However, when running my task on a Hosted Ubuntu-latest agent, it now tells me:
| The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
This is an odd and unexpected result.
Environment type (Please select at least one enviroment where you face this issue)
##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
##[debug]System.InvalidOperationException: The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsyncInternal() in /mnt/vss/_work/1/s/src/Agent.Worker/TaskRunner.cs:line 141
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in /mnt/vss/_work/1/s/src/Agent.Worker/TaskRunner.cs:line 76
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in /mnt/vss/_work/1/s/src/Agent.Worker/StepsRunner.cs:line 264
Repro steps
The text was updated successfully, but these errors were encountered:
jeffpriz
changed the title
[BUG]: Upgrading to Node20, but linux agents not running now?
[BUG]: Upgrading to Node20, but linux agents not running now? node-migration: Node20
Dec 30, 2024
When running on windows it also fails now
##[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(X64)'. Contact the task author for more details.
##[debug]System.InvalidOperationException: 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.
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsyncInternal() in D:\a_work\1\s\src\Agent.Worker\TaskRunner.cs:line 138
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in D:\a_work\1\s\src\Agent.Worker\TaskRunner.cs:line 76
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in D:\a_work\1\s\src\Agent.Worker\StepsRunner.cs:line 264
New issue checklist
Task name
Json to Variable-test2
Task version
1
Issue Description
My custom task extensions that have been published for a while have been giving notice of EoL for Node versions they were on. So I've read
https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops#q-how-can-i-upgrade-my-custom-task-to-the-latest-node
and
https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/migrateNode20.md
I have updated my tasks to the versions as specified, and added the execution for Node20_1 as suggested. However, when running my task on a Hosted Ubuntu-latest agent, it now tells me:
| The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
This is an odd and unexpected result.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu-latest
Relevant log output
Full task logs with system.debug enabled
Repro steps
The text was updated successfully, but these errors were encountered: