Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
5eb8cc5f00
|
@ -40,8 +40,8 @@ global:
|
|||
语法:
|
||||
```yaml
|
||||
global:
|
||||
# 是否启用
|
||||
# 默认值为true,表示启用
|
||||
# 值为false,表示禁用,此时webhook/cron/手动等操作均无法触发项目并发执行
|
||||
# 是否并发执行
|
||||
# 默认值为false,表示不能并发执行,此时webhook/cron/手动等操作均无法触发项目并发执行
|
||||
# 值为true,表示可并发执行
|
||||
concurrent: true | false
|
||||
```
|
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
|
@ -63,9 +63,11 @@ kubectl apply -f kubernetes.yaml
|
|||
* 新建一个测试群
|
||||
* 测试群添加一个机器人,并获取机器人的webhook,形如:`https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=06de918a-fd35-45b7-b2e6-cff28371fd5d`
|
||||
|
||||
添加流程可参考[gitee相关文档](https://gitee.com/help/articles/4296#article-header0)
|
||||
#### 设置企业微信空间
|
||||
|
||||
1. 创建企业微信用户空间,点击密钥管理,填写命名空间和描述如下:
|
||||
![key_management](./images/key_management.png)
|
||||
![create_space](./images/wecom_space.png)
|
||||
2. 进入命名空间,创建密钥,填写名称和值,参考如下
|
||||
![create_bot_webhook](./images/wecom_bot_webhook.png)
|
||||
|
|
|
@ -65,12 +65,12 @@ trigger:
|
|||
|
||||
根据提取的位置不同,提取规则如下:
|
||||
|
||||
* Header:$.header.xxx
|
||||
* Query:$.query.xxx
|
||||
* Header:$.header.xxx,`http header`
|
||||
* Query:$.query.xxx,`http querystring`
|
||||
* Body:
|
||||
* JSON: $.body.json.xxx
|
||||
* Form表单:$.body.form.xxx
|
||||
* Text: $.body.text
|
||||
* JSON: $.body.json.xxx,`http body,Content-Type为application/json`
|
||||
* Form表单:$.body.form.xxx,`http body,Content-Type为application/x-www-form-urlencoded`
|
||||
* Text: $.body.text,`http body,Content-Type为text/plain`
|
||||
|
||||
**Webhook请求参数示例**
|
||||
```
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jianmu-docs",
|
||||
"version": "2.2.8",
|
||||
"version": "2.2.10",
|
||||
"repository": "https://gitee.com/jianmu-dev/jianmu-docs.git",
|
||||
"scripts": {
|
||||
"dev": "vitepress dev",
|
||||
|
|
Loading…
Reference in New Issue