7 Star 35 Fork 8

Hacker / lark-notice-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

🌐 插件简介

lark-notice-plugin 是一个用于 Jenkins构建通知机器人 通知插件,可以将 Jenkins 构建过程以及结果通知推送到 Lark飞书钉钉 协作平台。 可配置多个的通知时机,包括 构建启动时构建中断构建失败构建成功时构建不稳定等。 支持多种不同类型的消息,包括 文本消息图片消息群名片消息富文本消息卡片消息; 同时该插件还提供了自定义模板变量的功能,使您能够根据自己的需求来定制通知消息的内容和格式。

📝 使用文档

请参考 官方文档

🧑‍💻 开发服务

IDEA 右侧 maven 控制面板中添加 hpi:run 到启动配置:

远程调试(Remote JVM DEBUG)

1. 命令行模式启动

  1. set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n
  2. mvn hpi:run -Djetty.port=8080

2. IDEA启动

  1. 打开 ideamaven 面板,Plugins 下的 hpi 插件
  2. hpi:run 右键选择 Modify Run Configuration.. 设置
  3. 点击 Modify Options 后选择 Add VM Options 选项
  4. VM options 处输入: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n
  5. 点击运行按钮开始执行 maven 命令(勿使用Debug模式运行)

3. Remote JVM DEBUG

  1. 打开 Run/Debug Configurations 并点击 Add New Configuration 后选择 Remote JVM DEBUG
  2. 配置端口后 Run 运行调试
  3. 启动后控制台打印信息: Listening for transport dt_socket at address: 5005

✅ 开发约定

  1. 使用 Alibaba Java Coding Guidelines 校验代码规范。
  2. 使用 Google Style Guide 统一代码风格。

IDEA

下载 intellij-java-google-style.xml

通过 Settings -> Editor Code Style 进行导入。

🔍️ 相关链接

💚 鸣谢

感谢 JetBrains 提供的免费开源 License

JetBrains

MIT License Copyright (c) 2022 Hacker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Lark Notice Plugin 是一个用于 Jenkins 的构建通知插件,可以将 Jenkins 构建过程以及结果通知推送到 Lark、飞书、钉钉 协作平台。 展开 收起
Java 等 4 种语言
MIT
取消

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xm721806280/lark-notice-plugin.git
git@gitee.com:xm721806280/lark-notice-plugin.git
xm721806280
lark-notice-plugin
lark-notice-plugin
main

搜索帮助