lark-notice-plugin
is a build notification robot
notification plug-in for Jenkins
, which can push the Jenkins
build process and result notifications to the Lark
、Feishu
and DingTalk
collaboration platforms.
Multiple notification timings can be configured,
including when the build starts
, build interruption
, build failure
, when the build succeeds
, build instability
,
etc.
Supports many different types of messages,
including text messages
, picture messages
, group business card messages
, rich text messages
, card messages
;
At the same time, the plug-in also provides the functions of custom template
and `variables', allowing you to
customize the content and format of notification messages according to your own needs.
Please refer to official document
Add hpi:run
to the startup configuration in the maven
control panel on the right side of IDEA
:
set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n
mvn hpi:run -Djetty.port=8080
- Open the
maven
panel inidea
, thehpi
plugin underPlugins
- Right click on
hpi:run
and selectModify Run Configuration..
to set- Click
Modify Options
and selectAdd VM Options
option- Input at
VM options
:-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n
- Click the Run button to start executing the
maven
command (do not run inDebug
mode)
- Open
Run/Debug Configurations
and clickAdd New Configuration
and selectRemote JVM DEBUG
- After configuring the port,
Run
runs the debugger- The console prints information after startup:
Listening for transport dt_socket at address: 5005
- Use Alibaba Java Coding Guidelines Verify code specifications.
- Use the Google Style Guide to unify the code style.
IDEA
download intellij-java-google-style.xml
Import via
Settings
->Editor
Code Style
.
- Plugin tutorial
- [Jenkins plug-in development journey: from idea to release in two days (Part 1)](https://jenkins-zh.cn/wechat/articles/2019/05/2019-05-06-jenkins-plugin-develop- within-two-days-part01/)
- [Jenkins plug-in development journey: from idea to release in two days (Part 2)](https://jenkins-zh.github.io/wechat/articles/2019/05/2019-05-08-jenkins-plugin- develop-within-two-days-part02/)
Thanks to JetBrains for the free open source license