node.jsazureazure-devopswhitesource

Receiving the WhiteSource Task warning in the azure devops build pipeline


I have the below WhiteSource task in my build pipeline:

          - task: whitesource.WhiteSource-azure-devops-services.bolt.wss.WhiteSource@21
            inputs:
              cwd: '$(System.DefaultWorkingDirectory)'

The Project code belongs to Node 18.x version so Whenever I build the pipeline, it starts giving me this error from 1 month onwards i.e.,

##[warning]Task 'Mend (formerly WhiteSource)' version 21 (WhiteSource@21) is dependent 
on a Node version (10) that is end-of-life. Contact the extension owner for an updated
 version of the task.Task maintainers should review Node upgrade guidance

Not Sure how to resolve this error?

I tried googling about the compatibility version of WhiteSource (Mend) tool to Node JS but no information found.


Solution

  • I can get the same warning when running the whitesource.WhiteSource-azure-devops-services.bolt.wss.WhiteSource@21 task in my Azure Pipelines.

    enter image description here

    The reason of this warning is that the current task is depended on Node v10 which is end-of-life. The warning is from the task itself.

    You need to contact support from the publisher of this extension, and ask the team to update the extension to use the higher Node version which is not end-of-life.

    enter image description here