Skip to content

auth-center-frontend

  • Vue 2.6.10
  • Jenkins build

项目介绍

用户应用中心

说明

bash
# 克隆项目
git clone http://39.108.189.115:81/general/frontend/auth-center-frontend.git

# 进入项目目录
cd auth-center-frontend

# 安装依赖 (node is 16.14.2)
npm install

# 启动服务
npm run dev

发布

npm
bash
# 构建测试环境
npm run test

# 构建生产环境
npm run build:prod

Jenkins job

shell.jenkins
shell
#!/bin/bash

export NODEJS16_HOME=/opt/nodejs/node-v16.14.2
export PATH=$NODEJS16_HOME/bin:$PATH

npm install
npm run test

cd dist/
ls -l
rm -f html.tar
tar zcvf html.tar *