From 88693ac9b537dc63964bf4d415002a0f84af9368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=A0=95=EB=AF=BC?= Date: Thu, 1 Aug 2024 16:33:41 +0900 Subject: [PATCH] jenkins setting --- backend/build.gradle | 2 ++ backend/src/main/resources/application.properties | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/build.gradle b/backend/build.gradle index 8fddcd1..1daa388 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -36,6 +36,8 @@ dependencies { implementation group: 'org.springframework.boot', name: 'spring-boot-starter-mail', version: '3.2.5' implementation 'org.springframework.boot:spring-boot-starter-mail' implementation 'org.mindrot:jbcrypt:0.4' + implementation 'org.springframework.boot:spring-boot-starter-actuator' + diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index 9cc111a..58d6582 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -31,7 +31,8 @@ spring.jpa.hibernate.ddl-auto=create spring.jpa.show-sql=true - +management.endpoints.web.exposure.include=health,info +management.endpoint.health.show-details=always spring.mail.host=smtp.gmail.com spring.mail.port=587