From 85c992473b26c858155c2a0e6fe497eaec70723c Mon Sep 17 00:00:00 2001 From: xiaozhou233 Date: Sun, 9 Aug 2026 13:34:44 +0800 Subject: [PATCH] build: package dist into zip before archiving --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ee40281..979a9d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,7 +38,8 @@ pipeline { stage('Build') { steps { sh 'npm run build' - archiveArtifacts artifacts: 'dist/**', fingerprint: true, allowEmptyArchive: false + zip archive: false, dir: 'dist', zipFile: 'dashboard-dist.zip' + archiveArtifacts artifacts: 'dashboard-dist.zip', fingerprint: true } } }