jenkins+npm+node qiandu部署前端项目
1031 curl https://raw.githubusercontent.com/creationix/nvm/v0.13.1/install.sh | bash1032df -h1033source ~/.bash_profile1034nvm list-remote1035nvm -v1036nvm install v81037nvm l...
·
1031 curl https://raw.githubusercontent.com/creationix/nvm/v0.13.1/install.sh | bash
1032 df -h
1033 source ~/.bash_profile
1034 nvm list-remote
1035 nvm -v
1036 nvm install v8
1037 nvm list
1038 ll
1039 cd ..
1040 ll
1041 mkdir test
1042 cd test/
1043 ll
1044 npm -v
1045 echo $PATH
1046 node -v
1047 whereis npm
1048 echo $PATH
jenkins 配置如下:
Jenkins中shell-script执行报错sh: line 2: npm: command not found:https://blog.csdn.net/cql08e/article/details/79577299
更多推荐
已为社区贡献11条内容
所有评论(0)