Pipeline always keeps previous mod list html files.

This commit is contained in:
Harrison Deng 2022-05-13 13:48:27 -05:00
parent 022bad14c2
commit 071d9d1088

2
Jenkinsfile vendored
View File

@ -23,7 +23,7 @@ pipeline {
steps {
sh "git clean -dfX"
sh "rm -rf server/world"
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'curseforge/', reportFiles: 'modlist.html', reportName: 'Mod List', reportTitles: ''])
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: true, reportDir: '', reportFiles: 'modlist.html', reportName: 'Mod list', reportTitles: ''])
zip archive: true, dir: 'curseforge', exclude: '', glob: '', overwrite: true, zipFile: 'publish/RSEMCM.zip'
zip archive: true, dir: 'server', exclude: '', glob: '', overwrite: true, zipFile: 'publish/RSEMCM_server.zip'
}