This commit is contained in:
@@ -99,11 +99,12 @@ jobs:
|
||||
RETRY_COUNT=0
|
||||
|
||||
while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
|
||||
if curl -f -s http://localhost:8080/actuator/health > /dev/null 2>&1; then
|
||||
# 使用正确的端口 (8443) 和协议 (HTTPS),不跳过SSL验证
|
||||
if curl -f -s https://localhost:8443/actuator/health > /dev/null 2>&1; then
|
||||
echo "✅ 应用健康检查通过"
|
||||
|
||||
# 获取详细的健康信息
|
||||
HEALTH_INFO=$(curl -s http://localhost:8080/actuator/health)
|
||||
HEALTH_INFO=$(curl -s https://localhost:8443/actuator/health)
|
||||
echo "健康状态: $HEALTH_INFO"
|
||||
break
|
||||
fi
|
||||
|
Reference in New Issue
Block a user