Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
bwcx_jzy 2022-02-13 08:53:38 +08:00
commit 5f17dbec99
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5
3 changed files with 30 additions and 9 deletions

View File

@ -11,7 +11,8 @@
### 🐞 解决BUG、优化功能
1. 【server】 ssh 授权目录不能为根目录
2. 【server】 在线构建-构建列表中,选择构建命令时新增多环境下打包的命令
3. 【server】 在线构建-构建列表中,选择构建命令时提供不同的跳过执行测试类的方式
------

View File

@ -255,7 +255,7 @@ docker-compose up
2. 默认运行端口:`2122`
4. 构建vue页面 切换到`web-vue`目录前提需要本地开发环境有node、npm环境
5. 安装项目vue依赖 控制台执行 `npm install`
6. 启动开发模式 控制台执行 `npm serve`
6. 启动开发模式 控制台执行 `npm run serve`
7. 根据控制台输出的地址访问前端页面 例如`http://127.0.0.1:3000/`
### 管理命令

View File

@ -594,20 +594,32 @@ export default {
title: "Java 项目",
children: [
{
title: "跳过测试类打包 mvn clean package -Dmaven.test.skip=true",
title: "不执行,也不编译测试用例 mvn clean package -Dmaven.test.skip=true",
value: "mvn clean package -Dmaven.test.skip=true",
},
{
title: "打包生产环境包 mvn clean package -Dmaven.test.skip=true -Pprod",
value: "mvn clean package -Dmaven.test.skip=true -Pprod",
},
{
title: "打包测试环境包 mvn clean package -Dmaven.test.skip=true -Ptest",
value: "mvn clean package -Dmaven.test.skip=true -Ptest",
},
{
title: "不执行,但是编译测试用例 mvn clean package -DskipTests",
value: "mvn clean package -DskipTests",
},
{
title: "mvn clean package",
value: "mvn clean package",
},
{
title: "指定 pom 文件打包 mvn -f xxxx/pom.xml clean package",
value: "mvn -f xxxx/pom.xml clean package",
title: "指定 pom 文件打包 mvn -f xxx/pom.xml clean package",
value: "mvn -f xxx/pom.xml clean package",
},
{
title: "指定 settings 文件打包 mvn -s xxxxx/settings.xml clean package",
value: "mvn -s script/settings.xml clean package",
title: "指定 settings 文件打包 mvn -s xxx/settings.xml clean package",
value: "mvn -s xxx/settings.xml clean package",
},
],
},
@ -618,13 +630,21 @@ export default {
title: "npm run build",
value: "npm run build",
},
{
title: "打包正式环境 npm run build:prod",
value: "npm run build:prod",
},
{
title: "打包预发布环境 npm run build:stage",
value: "npm run build:stage",
},
{
title: "yarn build",
value: "yarn build",
},
{
title: "指定目录打包 yarn --cwd xxxx/build",
value: "yarn --cwd xxxx/build",
title: "指定目录打包 yarn --cwd xxx/build",
value: "yarn --cwd xxx/build",
},
],
},