From 364175bbcdbb910e1697e835dd115b80230f69a8 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Sat, 21 Dec 2024 13:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4Jenkins=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=EF=BC=8C=E4=BF=AE=E6=AD=A3=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E6=89=A7=E8=A1=8C=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chuanqi_web_pro_jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chuanqi_web_pro_jenkins b/chuanqi_web_pro_jenkins index 3e2cfdc..e961cc5 100644 --- a/chuanqi_web_pro_jenkins +++ b/chuanqi_web_pro_jenkins @@ -26,7 +26,7 @@ pipeline { sshPublisher(publishers: [sshPublisherDesc(configName: 'tencent-SG', transfers: [sshTransfer( sourceFiles: "dist.zip", - execCommand: "unzip dist.zip&&mv -f main.min_jocw9Tu2.js js/&&mv -f config.xml resource_Publish/cfg/&&rm -rf dist.zip", + execCommand: "cd /home/chuanqi/web&&unzip dist.zip&&mv -f main.min_jocw9Tu2.js js/&&mv -f config.xml resource_Publish/cfg/&&rm -rf dist.zip", remoteDirectory: "/home/chuanqi/web") ], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: true) ])