当先锋百科网

首页 1 2 3 4 5 6 7

jenkins gradle build error

npmSetupnpm ERR! write after end

Unhandled rejection Error: EACCES: permission denied, open '/data/jenkins/.npm/a12345

遇到这种错误需要在build的execute shell里面加上 sudo chown -R ewe-jenkins:ewe-jenkins /data/jenkins/.npm

即可解决