Updated Jenkinsfile.
This commit is contained in:
parent
1fb2903edb
commit
b14b036648
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user