This commit is contained in:
Clemens Lauermann 2020-04-27 18:49:07 +02:00
parent 898ce6ecab
commit 01dd9aa609

2
Jenkinsfile vendored
View File

@ -152,6 +152,7 @@ pipeline {
stage('Create Archive') { stage('Create Archive') {
steps { steps {
dir(env.GIT_PATH) { dir(env.GIT_PATH) {
script {
if (params.ARCHIVE_FORMAT == 'zip') { if (params.ARCHIVE_FORMAT == 'zip') {
sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt" sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
} else { } else {
@ -161,6 +162,7 @@ pipeline {
} }
} }
} }
}
post { post {
always { always {
script { script {