From 071d9d1088d6242ca7c96f596749c0c8489c661e Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 13 May 2022 13:48:27 -0500 Subject: [PATCH] Pipeline always keeps previous mod list html files. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bea2db6..99cfbe4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' }