From 32cfb20999f525f037006e411cf50654303e4705 Mon Sep 17 00:00:00 2001 From: qihongkun Date: Mon, 25 May 2026 14:54:01 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=92=8C=20Jenkins=20=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .env.example | 2 +- Jenkinsfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 23cc91e..cbb8bbf 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ QIP_HOST_PORT=8000 QIP_DATA_HOST_DIR=/docker_data # 生产务必修改 -AUTH_TOKEN_SECRET=change-me-to-a-long-random-string +AUTH_TOKEN_SECRET=Sto1234@ DEFAULT_SUPERADMIN_USERNAME=admin DEFAULT_SUPERADMIN_PASSWORD=Sto1234@ DEFAULT_SUPERADMIN_DISPLAY_NAME=系统超管 diff --git a/Jenkinsfile b/Jenkinsfile index 051d85b..3f653bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent any environment { - DEPLOY_DIR = '/opt/quality-inspection-platform' + DEPLOY_DIR = '/docker_data/quality-inspection-platform' SSH_SERVER = '10.20.30.42' } @@ -41,7 +41,7 @@ pipeline { sshTransfer( sourceFiles: '**/*', excludes: '.git/**, .venv/**, __pycache__/**, node_modules/**, *.pyc, .env', - remoteDirectory: "${DEPLOY_DIR}", + remoteDirectory: "quality-inspection-platform", removePrefix: '', cleanRemote: true, execTimeout: 600000,