From cc9d289310192ac0f01a670ae7b49318c224df23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8E=86=E5=86=B0=E9=83=81-hermes=E7=89=88?= Date: Wed, 6 May 2026 17:39:54 +0800 Subject: [PATCH] ci: default api deploy env params in shell --- jenkins/Jenkinsfile.production-api-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/Jenkinsfile.production-api-deploy b/jenkins/Jenkinsfile.production-api-deploy index 486d304c..e0ea07a1 100644 --- a/jenkins/Jenkinsfile.production-api-deploy +++ b/jenkins/Jenkinsfile.production-api-deploy @@ -118,9 +118,9 @@ pipeline { --current-link "${CURRENT_LINK}" \ --service "${SERVICE_NAME}" \ --health-url "${HEALTH_URL}" \ - --api-env-file "${API_ENV_FILE}" \ + --api-env-file "${API_ENV_FILE:-/etc/genarrative/api-server.env}" \ --database "${DATABASE}" \ - --spacetime-server-url "${SPACETIME_SERVER_URL}" + --spacetime-server-url "${SPACETIME_SERVER_URL:-http://127.0.0.1:3101}" ' ''' }