Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 03:25:35 -05:00
parent 1fb2903edb
commit b14b036648

5
Jenkinsfile vendored
View File

@ -20,11 +20,8 @@ pipeline {
} }
} }
stage("publish") { stage("publish") {
when {
branch "**/master"
}
steps { steps {
sh "git clean -fdX" sh "git clean -dfX"
zip archive: true, dir: 'curseforge', exclude: '', glob: '', zipFile: 'publish/RSEMCS.zip' zip archive: true, dir: 'curseforge', exclude: '', glob: '', zipFile: 'publish/RSEMCS.zip'
zip archive: true, dir: 'server', exclude: '', glob: '', zipFile: 'publish/RSEMCS_server.zip' zip archive: true, dir: 'server', exclude: '', glob: '', zipFile: 'publish/RSEMCS_server.zip'
fingerprint 'publish/*.zip' fingerprint 'publish/*.zip'