+2
-3
@@ -75,9 +75,8 @@ dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
|
||||
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
|
||||
implementation 'io.github.resilience4j:resilience4j-spring-boot3'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-aop'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
|
||||
implementation 'io.github.resilience4j:resilience4j-spring-boot3:2.2.0'
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
|
||||
@@ -157,6 +157,11 @@ pipeline {
|
||||
echo '6. Ждем БД...'
|
||||
sleep 15
|
||||
|
||||
echo '6.5. Удаляем старый образ и чистим кэш...'
|
||||
docker rmi app-backend-${params.PORT}:latest 2>/dev/null || echo 'Образ не найден'
|
||||
docker builder prune -f
|
||||
rm -rf .gradle build
|
||||
|
||||
echo '7. Собираем приложение...'
|
||||
docker build --no-cache -t app-backend-${params.PORT}:latest .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user