woodpecker feishu group robot
50K+
woodpecker-feishu-group-robot
https://open.feishu.cn/open-apis/bot/v2/hook/{web_hook} end {web_hook}
{web_hook} must settings at settings.feishu-webhookor PLUGIN_FEISHU_WEBHOOKCustom keywords you can change settings.feishu-msg-title or PLUGIN_FEISHU_MSG_TITLESignature validation by settings.feishu-secret or PLUGIN_FEISHU_SECRET.woodpecker_kit.steps.transfer at git ignore| Name | Required | Default value | Description |
|---|---|---|---|
debug | no | false | open debug log or open by env PLUGIN_DEBUG |
feishu-enable-debug-notice | no | false | when debug open, will not send message, must enable it to notice under debug open |
feishu-webhook | yes | none | feishu group robot webhook, end of feishu robot https://open.feishu.cn/open-apis/bot/v2/hook/{web_hook} |
feishu-secret | yes | none | feishu robot secret, just signature verification, empty will not open. |
feishu-msg-title | yes | CI Notification | feishu group robot message title, most input Security settings area keywords |
feishu-notice-types | no | none | feishu notice types, if empty will use [ build_status ] |
feishu-msg-i18n-lang | no | en-US | feishu group robot message i18n lang, support: en-US, zh-CN more support see --help (v1.4.+) |
feishu-status-success-ignore | no | false | ignore this build success status |
feishu-status-change-success | no | false | must open [ feishu-status-success-ignore ], when status change to success, compare with CI_PREV_PIPELINE_STATUS |
feishu-enable-forward | no | false | let notification card change more info see https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN |
custom settings
| Name | Required | Default value | Description |
|---|---|---|---|
feishu-ntp-target | no | none | like "pool.ntp.org" if not set will not sync ntp time |
feishu-msg-powered-by-image-key | no | none | card img by feishu-image-key |
feishu-msg-powered-by-image-alt | no | none | card img alt tag name |
Hide Settings:
| Name | Required | Default value | Description |
|---|---|---|---|
timeout_second | no | 10 | command timeout setting by second |
woodpecker-kit-steps-transfer-file-path | no | .woodpecker_kit.steps.transfer | Steps transfer file path, default by wd_steps_transfer.DefaultKitStepsFileName |
woodpecker-kit-steps-transfer-disable-out | no | false | Steps transfer write disable out |
dockerlabels:
backend: docker
steps:
notification-feishu-group-robot:
image: sinlov/woodpecker-feishu-group-robot:latest
pull: false
settings:
# debug: true # plugin debug switch
# feishu-enable-debug-notice: true when debug open, will not send message, must enable it to notice under debug open
# feishu-ntp-target: "pool.ntp.org" # if not set will not sync ntp time
feishu-webhook:
# https://woodpecker-ci.org/docs/usage/secrets
from_secret: feishu_group_bot_token
feishu-secret:
from_secret: feishu_group_secret_bot
feishu-msg-i18n-lang: en-US # support: en-US, zh-CN more support see --help (v1.4.+)
feishu-msg-title: "CI Notification" # default [CI Notification]
# let notification card change more info see https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN
feishu-enable-forward: true
feishu-status-success-ignore: false # ignore this build success status
feishu-status-change-success: false # must open [ feishu-status-success-ignore ], when status change to success, compare with CI_PREV_PIPELINE_STATUS
when:
status: # only support failure/success, both open will send anything
- failure
- success
local, must install at local and effective at evn PATHgo install -a github.com/woodpecker-kit/woodpecker-feishu-group-robot/cmd/woodpecker-feishu-group-robot@latest
go install -v github.com/woodpecker-kit/woodpecker-feishu-group-robot/cmd/[email protected]
labels:
backend: local
steps:
notification-feishu-group-robot:
image: woodpecker-feishu-group-robot
settings:
# debug: true # plugin debug switch
# feishu-enable-debug-notice: true when debug open, will not send message, must enable it to notice under debug open
# feishu-ntp-target: "pool.ntp.org" # if not set will not sync ntp time
feishu-webhook:
# https://woodpecker-ci.org/docs/usage/secrets
from_secret: feishu_group_bot_token
feishu-secret:
from_secret: feishu_group_secret_bot
feishu-msg-i18n-lang: en-US # support: en-US, zh-CN more support see --help (v1.4.+)
feishu-msg-title: "CI Notification" # default [CI Notification]
# let notification card change more info see https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN
feishu-enable-forward: true
feishu-status-success-ignore: false # ignore this build success status
feishu-status-change-success: false # must open [ feishu-status-success-ignore ], when status change to success, compare with CI_PREV_PIPELINE_STATUS
when:
status: # only support failure/success, both open will send anything
- failure
- success
settings.feishu-notice-typesv1.3.0file_browserv1.5.+labels:
backend: docker
steps:
woodpecker-file-browser-upload:
image: sinlov/woodpecker-file-browser-upload:latest
pull: false
settings:
# debug: false # plugin debug switch
file-browser-host: "http://127.0.0.1:80" # must set args, file_browser host like http://127.0.0.1:80
file-browser-username: # must set args, file_browser username
# https://woodpecker-ci.org/docs/usage/secrets
from_secret: file_browser_user_name
file-browser-user-password: # must set args, file_browser user password
from_secret: file_browser_user_passwd
file-browser-remote-root-path: dist/ # must set args, send to file_browser base path
file-browser-dist-type: git # must set args, type of dist file graph only can use: git, custom
file-browser-file-glob: # must set args, globs list of send to file_browser under file-browser-target-dist-root-path
- "**/*.tar.gz"
- "**/*.sha256"
notification-feishu-group-robot:
image: sinlov/woodpecker-feishu-group-robot:latest
pull: false
depends_on:
- woodpecker-file-browser-upload # must depend on woodpecker-file-browser-upload plugin
settings:
feishu-webhook:
# https://woodpecker-ci.org/docs/usage/secrets
from_secret: feishu_group_bot_token
feishu-secret:
from_secret: feishu_group_secret_bot
feishu-msg-title: "CI Notification" # default [CI Notification]
# let notification card change more info see https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN
feishu-enable-forward: true
feishu-notice-types:
- file_browser # after file_browser upload will show file_browser info
- build_status # also show build status
when:
status: # only support failure/success, both open will send anything
- failure
- success
Content type
Image
Digest
sha256:3cb33badc…
Size
6.3 MB
Last updated
over 1 year ago
docker pull sinlov/woodpecker-feishu-group-robot:1.9.0