From f88bda1b4bf9a5fbd72a63f899744de246711dae Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 12 May 2022 02:59:29 -0500 Subject: [PATCH] Remove generated files before publishing in Jenkinsfile. --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 27d5151..eeb3384 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,6 +25,7 @@ pipeline { branch "**/master" } steps { + sh "git clean -fdX" zip archive: true, dir: 'curseforge', exclude: '', glob: '', zipFile: 'publish/RSEMCS.zip' zip archive: true, dir: 'server', exclude: '', glob: '', zipFile: 'publish/RSEMCS_server.zip' fingerprint 'publish/*.zip'