Skip to content

Commit

Permalink
doc: Update jenkins document.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 22, 2024
1 parent 5da47af commit 4f6a779
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,15 @@ docker compose down # 停止并删除与 Docker Compose 配置文件相关的

## 1. 安装插件

- [Git Parameter Plug-In](https://plugins.jenkins.io/git-parameter) 支持在 CI 上自动加载仓库分支
[Git Parameter Plug-In](https://plugins.jenkins.io/git-parameter) 支持在 CI 上自动加载仓库分支

<img src="./imgs/0-1.png" width="620" />

<img src="./imgs/0-2.png" width="620" />

在 `Manage Jenkins` -> `System` 中设置 `Git Parameter`

<img src="./imgs/0-3.png" width="620" />

## 2. 添加凭证

Expand All @@ -117,7 +125,9 @@ docker compose down # 停止并删除与 Docker Compose 配置文件相关的

<img src="./imgs/8.png" width="620" />

## 3. 添加构建选项,可以在构建前选择 `生产` 还是 `开发` 模式,在脚本中判断
## 3. 添加构建选项

可以在构建前选择 `生产` 还是 `开发` 模式,在脚本中判断

<img src="./imgs/9.png" width="620" />

Expand Down
Binary file added docs/jenkins/imgs/0-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/jenkins/imgs/0-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/jenkins/imgs/0-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4f6a779

Please sign in to comment.