1. 首先选择自由风的构建方式
2. 我的源码在gitlab上,在源码管理下,提供仓库URL和凭证,以及gitlab的分支
3. 在构建环境下选择提供Node &npm bin/folder to Path
4. 构建 执行shell
node -vnpm install -g cnpm --registry=https://registry.npm.taobao.org cnpm -v cnpm install cnpm run buildcp -R dist /opt/指定目录