Skip to content

Commit f1b9542

Browse files
committed
Add notes about gitlab build emails
1 parent 5dd1efb commit f1b9542

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

gitlab/gitlab-ci-usage.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ GitLab 自带 GitLab-CI,可用于自动构建、测试、部署
5454
* 若自动部署工具(如 mina)启用了 SSH agent forwarding, 将公钥添加到项目的 Deploy Keys 中
5555
* 若未启用,将部署服务器上的 `~/.ssh/id_rsa.pub` 添加到项目的 Deploy Keys 中
5656
57+
## Builds Emails
58+
59+
GitLab 支持在构建失败时邮件提示,但默认并未开启
60+
61+
可在 Project -> Services -> Builds emails 中开启
62+
63+
管理员用户可在 Admin Area -> Service Templates -> Builds emails 中为新项目默认启用
64+
5765
## 技巧/注意事项
5866
5967
以下部分命令通过修改环境变量 PATH 生效,若放在外部文件中,须通过 `source` 命令引入方有效
@@ -216,7 +224,7 @@ development:
216224

217225
## 参考资料
218226

219-
* [GitLab-CI docs](http://doc.gitlab.com/ce/ci/)
227+
* [GitLab-CI documentation](http://doc.gitlab.com/ce/ci/)
220228
* [Using Docker Images](http://doc.gitlab.com/ee/ci/docker/using_docker_images.html)
221229
* [.gitlab-ci.yml usage](http://doc.gitlab.com/ce/ci/yaml/README.html)
222230
* [Using SSH keys](https://gitlab.com/help/ci/ssh_keys/README.md)

0 commit comments

Comments
 (0)