# 50.10.4 构建信息

如果`BuildProperties` bean存在，`info`端点也会发布你的构建信息。

**注** 如果classpath下存在`META-INF/build-info.properties`文件，Spring Boot将自动构建`BuildProperties` bean。Maven和Gradle都能产生该文件，具体查看[Generate build information](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/htmlsingle/#howto-build-info)。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/v.-spring-boot-actuator/50.-endpoints/50.10-application-information/50.10.4-build-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
