I am trying to install aio cloudmanager plugin on jenkins server. with the command
aio plugins:install @adobe/aio-cli-plugin-cloudmanager
Getting below error..
error An unexpected error occurred: "https://nexus.<name>.com/repository/npm-proxy/@adobe%2faio-cli-plugin-cloudmanager: Request \"https://nexus.<name>.com/repository/npm-proxy/@adobe%2faio-cli-plugin-cloudmanager\" returned a 402".
Installing plugin @adobe/aio-cli-plugin-cloudmanager... failed
Error: yarn add @adobe/aio-cli-plugin-cloudmanager@latest --non-interactive
--mutex=file:/var/lib/jenkins/.local/share/@adobe/aio-cli/yarn.lock
--preferred-cache-folder=/var/lib/jenkins/.cache/@adobe/aio-cli/yarn --check-files exited with code 1
we are not using nexus for installing plugins. So how can i bypass nexus and install aio cloudmanger plugin.
Note : i can install same plugin with sudo user. while installing with user, not asking for nexus drive path.
Please help to resolve.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
this issue is related to npm configuration.
i run the command : npm conifg list
metrics-registry value is mappend to nexus drive. that's why, plugin is going to download from nexus.
i have changed this to
metrics-registry = "https://registry.npmjs.org/"
and it was working fine. you can give it a try.
Hi @punit-khatri,
On a high level, 402 error code on nexus request relates to licensing validation.
But to address your concern on bypassing nexus request, could you please share the details on installed plugins in Jenkins related to Nexus and elaborate on steps you took for installing cloud manager plugin
I am facing the same issue , adobe have any plugin to directly install the adobe cli on jenkins via manage plugin ,
if not then please share the steps to install the plugin in jenkins and how the cli can be used on later stage .
did you get any update on the issue
this issue is related to npm configuration.
i run the command : npm conifg list
metrics-registry value is mappend to nexus drive. that's why, plugin is going to download from nexus.
i have changed this to
metrics-registry = "https://registry.npmjs.org/"
and it was working fine. you can give it a try.
Views
Likes
Replies
Views
Likes
Replies