一次jenkins安装nodejs的日记
(2022-05-23 19:18:14)
因ssl 问题 一直无法自动下载 Host key verification failed.
https://nodejs.org/dist/v13.13.0/node-v13.13.0-linux-x64.tar.gz
经查自动安装目录为
/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/nodejs
手动下载后解压到以上目录
npmcache clear--force
但仍然npm仍然无法下载
npm ERR! Error while executing: npm ERR! /bin/git ls-remote -h -t ssh://git@github.com/seonim-ryu/Squire.git npm ERR! npm ERR! Host key verification failed. npm ERR! fatal: Could not read from remote repository. npm ERR!