From 082eee0edf256b13a7e03e00959ff7830187b5e5 Mon Sep 17 00:00:00 2001 From: lzh Date: Thu, 30 Apr 2026 10:04:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E9=9A=94=E7=A6=BB=20release=20?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E5=8F=98=E9=87=8F=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 53 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 315bcd24..3c34877b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -350,20 +350,19 @@ pipeline { // 同步当前分支对应的 compose 文件到部署服务器(master→core、release/next→release) echo "📂 Syncing ${env.COMPOSE_FILE} to deploy host..." sh "scp -o StrictHostKeyChecking=no -i ${env.SSH_KEY} ${env.COMPOSE_FILE} root@${env.DEPLOY_HOST}:${env.DEPLOY_PATH}/" - def composeProjectName = 'aiot-platform' - echo "Writing compose env to deploy host..." - sh """ - ssh -o StrictHostKeyChecking=no -i ${env.SSH_KEY} root@${env.DEPLOY_HOST} ' - set -e - cd ${env.DEPLOY_PATH} - cat > .env < .env.release.ci < .env < .env.release.ci <