fix: archive dist in Build stage before cleanWs wipes workspace
This commit is contained in:
1 parent
c626445dfe
commit
0bc4ed91c5
1 file changed
+1
-3
Vendored
+1
-3
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user