build: package dist into zip before archiving

This commit is contained in:
xiaozhou233 committed 2026-08-09 13:34:44 +08:00
1 parent 0bc4ed91c5
commit 85c992473b
1 file changed
+2 -1
Vendored
+2 -1
View File
@@ -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
}
}
}