Coder Social home page Coder Social logo

jenkinsci / lark-notice-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 721806280/lark-notice-plugin

2.0 2.0 4.0 350 KB

Lark Notice Plugin 是一个用于 Jenkins 的 构建通知机器人 通知插件,可以将 Jenkins 构建过程以及结果通知推送到 Lark、飞书、钉钉 协作平台。

Home Page: https://721806280.github.io/lark-notice-plugin-doc

License: MIT License

JavaScript 1.98% Java 94.33% CSS 0.05% HTML 3.63%
dingtalk feishu lark

lark-notice-plugin's Introduction

🌐 插件简介

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

lark-notice-plugin's People

Contributors

721806280 avatar dependabot[bot] avatar strangelookingnerd avatar

Stargazers

PandaMan avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.