I am using gradle node plugin behind corporate proxy with our own artifactory url but plugin is not able to download the node dist and hence the build is failing.
As per plugin added the below code
node {
version = '10.15.3'
npmVersion = '6.4.1'
download = true
distBaseUrl = 'https://<<private-artifactory-url>>'
workDir = file("${project.buildDir}/nodejs")
npmWorkDir = file("${project.buildDir}/npm")
}
plugin is trying to resolve the node path like distBaseUrl + v10.15.3/ivy.xml
which is not found in private artifactory as the absolute url path is different. Private artifactory path is like http:://domain.com/api/npm/node/10.15.3
which is different from what plugin does. I tried with full absolute url in distBaseUrl also which is not working.
Any suggestions on how to resolve this issue