Azure Devops - SonarCloudPrepare@3 Node version (16) EOL

  • ALM used - Azure DevOps

  • CI system used - Azure DevOps

  • Languages of the repository: C# (net 9)

  • Error observed:

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.

Take a look at the thread here:

And later on @Julien_HENRY references the ticket to fix it for good in the extension :slight_smile:

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?


. Is sonar team planning to launch a new latest release.?

Tasks that i mentioned in title started to showing up warnings:

Hey all.

I’ve pinged the team to see if we need to bump the priority of SONARAZDO-452. Thanks for the reports.

Hello everyone!

We are facing the same issue here with the tasks SonarCloudPrepare@3, SonarCloudAnalyze@3 and SonarCloudPublish@3 within Azure Pipelines.

Awaiting updates!

Any updates on this?

Hi SonarQube team,

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?

Awaiting updates.

Hey all.

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?

Hello!

Same here, warnings when using the tasks SonarCloudPrepare@3, SonarCloudAnalyze@3 and SonarCloudPublish@3 on Azure Pipelines.

I see the Jira ticket shared by Colin is still Open and Unassigned. Do you think there will be any update soon?

Thanks a lot

The warnings are annoying and alarming to people reviewing pipelines for other reasons. It would be nice to get this corrected.

Has anyone be able to get AGENT_USE_NODE20_1 or AGENT_USE_NODE20 to work? If so, where and how?

I’m pretty sure now this only forces the task to run on a node 20 executor, it doesn’t relieve the warning.

I agree it’s annoying. I’ll see if there’s anything we can do to speed this up.

Getting same error.

Must-share information (formatted with Markdown):

  • 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.

Hello everyone,

I wanted to let you know that a patch for this issue is scheduled for next week.

Thank you all for your patience and for pushing us to resolve this! :folded_hands:

7 Likes

Thank you! Will be expecting.

getting following warning and also not able to publish code coverage

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: Add a Custom Build or Release Task in an Extension - Azure DevOps | Microsoft Learn

Initialize job
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: Add a Custom Build or Release Task in an Extension - Azure DevOps | Microsoft Learn

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.

Publishing CodeCoverage