build: package dist into zip before archiving
This commit is contained in:
1 parent
0bc4ed91c5
commit
85c992473b
1 file changed
+2
-1
Vendored
+2
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user