lark-notice-plugin is a build notification robot notification plug-in for Jenkins, which can push the Jenkins
build process and result notifications to Lark, Feishu, DingTalk, and WeCom collaboration platforms.
Multiple notification timings can be configured,
including build start, build interruption, build failure, build success, build instability, etc.
Supports many different types of messages,
including text messages, image messages, link messages, markdown messages, rich text messages, and card messages.
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
- Fast test suite:
mvn test - Full suite including JenkinsRule page and integration tests:
mvn test failsafe:integration-test failsafe:verify -Pjenkins-rule-tests
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=nmvn hpi:run -Djetty.port=8080
- Open the
mavenpanel inidea, thehpiplugin underPlugins- Right click on
hpi:runand selectModify Run Configuration..to set- Click
Modify Optionsand selectAdd VM Optionsoption- Input at
VM options:-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n- Click the Run button to start executing the
mavencommand (do not run inDebugmode)
- Open
Run/Debug Configurationsand clickAdd New Configurationand selectRemote JVM DEBUG- After configuring the port,
Runruns 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->EditorCode Style.