Explorar el Código

update README

aexiaoliou hace 2 años
padre
commit
613b91805b
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -29,9 +29,15 @@ Jenkins 会根据根目录中的 [Jenkinsfile](./Jenkinsfile) 进行自动编译
 
 #### 可选项
 - [邮件消息推送](https://plugins.jenkins.io/email-ext/)
+- [钉钉消息推送](https://jenkinsci.github.io/dingtalk-plugin/)
+- [企业微信推送](https://github.com/jenkinsci/qy-wechat-notification-plugin)
+- 以上插件均已安装,可以直接在 Jenkinsfile 中编写使用
+- 使用 [input](https://www.jenkins.io/zh/doc/book/pipeline/syntax/#input) 阻塞危险的构建,直到有效的输入确认
+- 如果需要`docker-compose`,则需要在运行节点安装,之后直接使用命令即可
 
 ### 注意事项
 
+- 尽量使用 docker 容器而非执行shell命令以避免环境冲突,并且方便做滚动更新等操作
 - 如果只是要测试微调后 Jenkinsfile 可以用 Jenkins 的回放功能(点击具体构建,左边),然后再放进项目里,这样就不用一直 commit push
 - 对当前分支的 Jenkinsfile 更新不会影响到其他分支,在开发或者测试分支可以不用担心影响生产
 - 对 Jenkinsfile 的改动尽量独立为一个commit, 方便 git cherry-pick 合并单一commit到其他需要的分支