All SonarCloud Tasks V3 @3 are causing warnings because of use of NODE 16 which is EOL in Azure Devops.
I cannot find any documentation that a V4 is available from Sonar so I assume there is a need for updating of the tasks from SonarCloud.
Errors from YAML Pipeline below.
(SonarCloudPrepare@3)
##[warning]Task 'Prepare Analysis Configuration' version 3 (SonarCloudPrepare@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
(SonarCloudAnalyze@3)
##[warning]Task 'Run Code Analysis' version 3 (SonarCloudAnalyze@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
(SonarCloudPublish@3)
##[warning]Task 'Publish Quality Gate Result' version 3 (SonarCloudPublish@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
Steps to reproduce
Use the above tasks in your YAML pipeline.
I am also getting this warning. I have paid sonar cloud plan.Try resolving with adding variable AGENT_USE_NODE20_1: “true” but it also not worked. When can I expect the resolution of this issue?
We are also facing the same issue. I have tried using the variables AGENT_USE_NODE20_1 and AGENT_USE_NODE20, but they’re not working. Is there already a new update for this issue?
Thanks for the nudges. We will work on this. For now, I believe the impact is limited to a warning in your pipeline – SQ analysis still works as expected. Is that correct?
which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) DeveloperEdition 2025.2
how is SonarQube deployed: zip
I used the latest installed tasks - task: SonarQubePrepare@7, … and get the following warnings in the log:
2025-07-29T13:38:22.7574815Z ##[warning]Task 'Prepare Analysis Configuration' version 7 (SonarQubePrepare@7) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
2025-07-29T13:38:22.8349452Z ##[warning]Task 'Run Code Analysis' version 7 (SonarQubeAnalyze@7) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
2025-07-29T13:38:22.8462574Z ##[warning]Task 'Publish Quality Gate Result' version 7 (SonarQubePublish@7) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
We’re also getting the same warning, Node 16 End of life was already planned, but we thought of getting a new version before this change.
Message is:
“(SonarQubePrepare@7) is dependent on a Node version (16) that is end-of-life”
Hi Team , Getting same error ##[warning]Task ‘Prepare Analysis Configuration’ version 3 (SonarCloudPrepare@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task.
##[warning]Task ‘Run Code Analysis’ version 3 (SonarCloudAnalyze@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task.
##[warning]Task ‘Publish Quality Gate Result’ version 3 (SonarCloudPublish@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task.
Initialize job
Task ‘Publish Quality Gate Result’ version 3 (SonarCloudPublish@3) is dependent on a Node version (16) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: Add a Custom Build or Release Task in an Extension - Azure DevOps | Microsoft Learn
Initialize job
No code coverage results were found to publish.