fix: 修复健康检查和配置问题
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled

- 修复健康检查 IP 地址 (172.17.16.14 -> localhost)
  - 禁用微信自动配置避免 appid 错误
  - 添加服务依赖关系和启动顺序
  - 优化 Jenkinsfile 部署流程
  - 添加 Quartz 优雅关闭配置
  - 注释 XXL-JOB Admin 配置(暂不部署)
This commit is contained in:
lzh
2026-01-13 19:13:30 +08:00
parent 93e8848845
commit b7664f7dd0
4 changed files with 185 additions and 49 deletions

View File

@@ -14,6 +14,8 @@ spring:
config:
namespace: ${NACOS_NAMESPACE:}
group: ${NACOS_GROUP:DEFAULT_GROUP}
lifecycle:
timeout-per-shutdown-phase: 30s # 增加优雅关闭超时时间
--- #################### 数据库相关配置 ####################
spring:
@@ -137,3 +139,21 @@ viewsh:
enable: true
security:
mock-enable: false
--- #################### Quartz 优雅关闭配置 ####################
spring:
quartz:
properties:
org:
quartz:
scheduler:
makeSchedulerThreadDaemon: true
shutdownHook: clean_shutdown
threadPool:
threadNamePrefix: QuartzSchedulerThread
threadsInheritContextClassLoaderOfInitializingThread: true
plugin:
shutdownhook:
class: org.quartz.plugins.management.ShutdownHookPlugin
cleanShutdown: true