fix: archive dist in Build stage before cleanWs wipes workspace

This commit is contained in:
xiaozhou233 committed 2026-08-09 13:32:27 +08:00
1 parent c626445dfe
commit 0bc4ed91c5
1 file changed
+1 -3
Vendored
+1 -3
View File
@@ -38,14 +38,12 @@ pipeline {
stage('Build') {
steps {
sh 'npm run build'
archiveArtifacts artifacts: 'dist/**', fingerprint: true, allowEmptyArchive: false
}
}
}
post {
success {
archiveArtifacts artifacts: 'dist/**', fingerprint: true
}
always {
cleanWs()
}