美文网首页
jenkins打包vue项目

jenkins打包vue项目

作者: 阿尼奥赛哟 | 来源:发表于2020-09-17 17:30 被阅读0次

    1. 下载安装nodejs

    https://nodejs.org/zh-cn/download/

    2. Jenkins插件安装和nodejs参数配置

    插件名称:NodeJS

    3.  点击新建item,输入项目名称,选中Freestyle project,点击确定,如下

    4. Jenkins配置

    5. npm构建命令

    npm config set strict-ssl false

    cnpm install node-sass@latest

    npm run build

    相关文章

      网友评论

          本文标题:jenkins打包vue项目

          本文链接:https://www.haomeiwen.com/subject/ahfryktx.html