Skip to content

Commit

Permalink
feat: 提供企业微信“蓝盾Bot”,用于推送蓝盾相关消息 #3797
Browse files Browse the repository at this point in the history
引入assembly
  • Loading branch information
irwinsun committed Sep 26, 2021
1 parent 5f2c8aa commit 75a1224
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/backend/ci/boot-assembly/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
implementation(project(":core:log:biz-log-sample"))
implementation(project(":core:misc:biz-misc-sample"))
implementation(project(":core:notify:biz-notify-blueking"))
implementation(project(":core:notify:biz-notify-wework"))
implementation(project(":core:openapi:biz-openapi"))
implementation(project(":core:plugin:biz-plugin"))
implementation(project(":core:process:plugin-load"))
Expand Down
1 change: 0 additions & 1 deletion src/backend/ci/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ include(":core:store:biz-store-image-sample")
include(":core:store:boot-store")
include(":core:store:model-store")


include(":core:process")
include(":core:process:api-process")
include(":core:process:biz-base")
Expand Down
14 changes: 14 additions & 0 deletions support-files/templates/#etc#ci#application-assembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,3 +404,17 @@ pipeline:
bkci:
sign:
tmpDir: "/tmp/enterprise_sign_tmp/"

notify:
weworkChannel: __BK_CI_NOTIFY_WEWORK_SEND_CHANNEL__ #发送企业微信的通道: weworkAgent 企业微信应用,blueking 蓝鲸消息通道, weworkRobot 企业微信机器人(待开放)

wework:
corpId:
corpSecret:
agentId:
tempDirectory: # 保存待上传 wework 文件临时存储路径
apiUrl: __BK_CI_NOTIFY_WEWORK_API_URL__ # 企业微信服务端host,用于调用企业微信api接口
safe: # 表示是否是保密消息,0表示可对外分享,1表示不能分享且内容显示水印,默认为0
enableDuplicateCheck: # 表示是否开启重复消息检查,0表示否,1表示是,默认0
duplicateCheckInterval: # 表示是否重复消息检查的时间间隔,默认1800s,最大不超过4小时
enableIdTrans: # 表示是否开启id转译,0表示否,1表示是,默认0。仅第三方应用需要用到,企业自建应用可以忽略。

0 comments on commit 75a1224

Please sign in to comment.