Closed kirill-a closed 1 year ago
Hi, any reason why this issue was closed? I'm seeing this too.
@Booligoosh, The Artifactory Jenkins Plugin doesn't support Node 18 and won't be supporting future versions of Node. Our recommendation is to switch to the next gen JFrog Jenkins Plugin, which provides support for all versions.
After switching from NodeJS 16 to NodeJS 18 npmTool in our pipeline configuration we are getting ENV_INVALID_AUTH error when the pipeline tries to run the Run Artifactory npm ci. The groovy code is as follows:
error log:
Even if there's no credentials passed and .npmrc only contains 'registry =', the plugin still throws this error.
Artifactory plugin version 3.18.3 Jenkins version 2.346.4.1-rolling