Skip to content

完善全局环境变量描述 #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions walle-web.io/docs/2/zh-cn/configuration-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ walle-web.jar
| `${CURRENT_RELEASE}` | 目标集群部署仓库 | /data/releases/walle-tiny-demo |
| `${VERSION}` | 当前要发布目标集群部署仓库里的版本 | 29_78_20190225_190422 |
| `${BRANCH}` | 当前部署分支 | master |
| `${TAG}` | 当前部署的tag | v1.0.12 |
| `${COMMIT_ID}` | 当前部署的commit_id | abcde12 |
| `${PROJECT_NAME}` | 当前部署的项目名称 | 大数据平台 |
| `${PROJECT_ID}` | 当前部署的项目id | 12 |
Expand All @@ -60,6 +61,8 @@ walle-web.jar
| `${DEPLOY_USER}` | 当前部署的用户 | 吴水永 |
| `${DEPLOY_TIME}` | 当前部署的时间 | 2019-01-01 10:09:03 |

**注意:当项目配置中选择branch时,变量`${TAG}`不可用;当选择tag时,变量`${BRANCH}`和`${COMMIT_ID}`不可用**

# 高级任务
## 高级任务-Deploy前置任务
在宿主机未检出代码前的前置任务,常为安装依赖、配置环境变量等
Expand Down