修改 检查使用 curl 方法

This commit is contained in:
zk
2026-05-22 20:38:08 +08:00
parent 3a1ba04ca5
commit 5b00d02d72
Vendored
+1 -1
View File
@@ -144,7 +144,7 @@ pipeline {
while (retryCount < maxRetries && !healthy) { while (retryCount < maxRetries && !healthy) {
try { try {
sh "docker exec ${CONTAINER_PREFIX}-${env.DEPLOY_TARGET} wget --spider -q ${HEALTH_URL}" sh "docker exec ${CONTAINER_PREFIX}-${env.DEPLOY_TARGET} curl -f ${HEALTH_URL}"
healthy = true healthy = true
} catch (Exception e) { } catch (Exception e) {
retryCount++ retryCount++