Spring Boot Actuator Info端点在Azure App Service运行时不返回Git信息
spring-boot-actuator-info-demo 仓库说明
该仓库用于演示Spring Boot Actuator Info端点与Git信息的相关问题,查看仓库的README可了解更多细节,以下是核心内容说明:
- 使用
git-commit-id-maven-plugin创建git.properties文件 - 引入
spring-boot-starter-actuator并完成相关配置,使Actuator Info端点包含完整的Git信息 - 本地正常启动应用时,Info端点会显示Git信息
- 通过Azure App Service镜像启动应用时,Info端点不显示Git信息
内容的提问来源于stack exchange,提问作者heuts
相关产品推荐
相关产品推荐

