From 1c0aae463adf81389793f26774b96ea0ced9c8da Mon Sep 17 00:00:00 2001 From: LiJiLong <1711559666@qq.com> Date: Mon, 26 Jan 2026 10:49:02 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3c3cb8a..a137b24 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -103,7 +103,7 @@ pipeline { ssh -i ${SSH_KEY_PATH} -o StrictHostKeyChecking=no ${HOST_USER}@${HOST_IP} " if [ -d '${HOST_TARGET}' ]; then TIMESTAMP=$(date +%Y%m%d%H%M%S) - mv '${HOST_TARGET}' '${HOST_BACKUP}/backup_$TIMESTAMP' + mv '${HOST_TARGET}' '${HOST_BACKUP}/backup_{$TIMESTAMP}' fi "