Azure DevOps build agent warning — migration from Node6 execution handler to Node 10

Microsoft advice: Do nothing!

Jack Roper
Nerd For Tech

--

Pipelines run in Azure DevOps using the latest version of the build agent 2.195.1 at the time of writing, (or previous version 2.195.0) will currently show this warning:

##[warning]This task uses Node 6 execution handler, which will be deprecated soon. If you are the developer of the task — please consider the migration guideline to Node 10 handler — https://aka.ms/migrateTaskNode10. If you are the user — feel free to reach out to the owners of this task to proceed on migration.

This can create significant noise. The advice is to do nothing as it stands. Microsoft is working on updating to Node10, and then v14 which will remove the warnings. If you want to disable the warning, for now, you can do so:

How to disable warnings for Node 6 deprecation

To avoid noise in pipeline logs — you can disable Node 6 deprecation warnings by setting up DISABLE_NODE6_DEPRECATION_WARNING agent knob in one of 2 ways:

Set up DISABLE_NODE6_DEPRECATION_WARNING pipeline variable as true

For self-hosted agents — set up environment variable DISABLE_NODE6_DEPRECATION_WARNING as true

--

--

Jack Roper
Nerd For Tech

A blog about DevOps & Cloud Tech. Specializing in Terraform, Kubernetes, Azure & Azure DevOps! ☁️