2

写了一个drone编译告警的插件

 2 years ago
source link: https://www.bboy.app/2022/01/12/%E5%86%99%E4%BA%86%E4%B8%80%E4%B8%AAdrone%E7%BC%96%E8%AF%91%E5%91%8A%E8%AD%A6%E7%9A%84%E6%8F%92%E4%BB%B6/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

写了一个drone编译告警的插件

发表于

2022-01-12 更新于 2022-01-13 分类于 linux

20220112-2.png

因为drone的钉钉通知的插件只支持x86

http://plugins.drone.io/lddsb/drone-dingtalk-message/

但是我都是在树莓派上跑流水线的,所以那就自己写一个吧

https://github.com/bboysoulcn/drone-notice

这个插件只要添加两个变量就好

- name: notice
image: bboysoul/drone-ddnotice:v1.1
settings:
ddbaseurl:
ddsecret:
when:
status:
- success
- failure

之后看情况完善吧,目前只编译了arm

欢迎关注我的博客www.bboy.app

Have Fun

欢迎关注我的其它发布渠道


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK