Skip to content

Commit

Permalink
fixed mail-notification image link; added gradle configuration for bu…
Browse files Browse the repository at this point in the history
…ild info (#1866)
  • Loading branch information
ulischulte committed Nov 26, 2021
1 parent 38a73b9 commit ff6df57
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions spring-boot-admin-docs/src/main/asciidoc/client.adoc
Expand Up @@ -29,6 +29,15 @@ For *non-Spring Boot* applications you can either add a `version` or `build.vers
</build>
----

To generate the build-info in a gradle project, add the following snippet to your `build.gradle`:
[source,groovy]
.build.gradle
----
springBoot {
buildInfo()
}
----

[[jmx-bean-management]]
=== JMX-Bean Management ===

Expand Down
Expand Up @@ -7,7 +7,7 @@ Mail notifications will be delivered as HTML emails rendered using https://www.t
To enable Mail notifications, configure a `JavaMailSender` using `spring-boot-starter-mail` and set a recipient.

.Sample Mail Notification
image::mail-notification-sample.png[Sample Mail Notification]
image::images/mail-notification-sample.png[Sample Mail Notification]

NOTE: To prevent disclosure of sensitive information, the default mail template doesn't show any metadata of
the instance. If you want to you show some of the metadata you can use a custom template.
Expand Down

0 comments on commit ff6df57

Please sign in to comment.