### Start Jenkins Plugin with Remote Debugging (Command Line) Source: https://github.com/721806280/lark-notice-plugin/blob/main/README_EN.md This snippet shows how to start the Jenkins plugin with remote JVM debugging enabled from the command line. It sets the MAVEN_OPTS environment variable to configure the debugger and then runs the plugin using `mvn hpi:run` on port 8080. ```Shell set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n mvn hpi:run -Djetty.port=8080 ``` -------------------------------- ### Configure IntelliJ IDEA VM Options for Remote Debugging Source: https://github.com/721806280/lark-notice-plugin/blob/main/README_EN.md This snippet provides the specific VM option to add in IntelliJ IDEA's run configuration for `hpi:run` to enable remote JVM debugging. This allows attaching a debugger to the Jenkins plugin instance started by Maven within IDEA. ```JVM Options -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5005,suspend=n ``` -------------------------------- ### Jenkins Built-in Environment Variables Reference Source: https://github.com/721806280/lark-notice-plugin/blob/main/src/main/resources/io/jenkins/plugins/lark/notice/config/LarkNotifierConfig/help-content.html A detailed list of environment variables automatically provided by Jenkins during pipeline execution. Each variable offers specific information about the current build, project, or job, such as names, URLs, and status, which can be leveraged in scripts for automation and reporting. ```APIDOC EXECUTOR_NAME: Name of builder EXECUTOR_MOBILE: Build phone number EXECUTOR_OPENID: Builder OPENID PROJECT_NAME: Project name PROJECT_URL: Project address JOB_NAME: Task name JOB_URL: Task address JOB_DURATION: Task duration JOB_STATUS: Task status ``` -------------------------------- ### Jenkins Built-in Environment Variables Reference Source: https://github.com/721806280/lark-notice-plugin/blob/main/src/main/resources/io/jenkins/plugins/lark/notice/config/LarkNotifierConfig/help-message.html A comprehensive list of environment variables automatically provided by Jenkins, offering details such as the builder's name, project information, job status, and duration. These variables are crucial for scripting and plugin development within the Jenkins ecosystem. ```APIDOC Variable name Description EXECUTOR_NAME Name of builder EXECUTOR_MOBILE Build phone number EXECUTOR_OPENID Builder OPENID PROJECT_NAME Project name PROJECT_URL Project address JOB_NAME Task name JOB_URL Task address JOB_DURATION Task duration JOB_STATUS Task status ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.