final fix of 6266a90
This commit is contained in:
parent
898ce6ecab
commit
01dd9aa609
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -152,10 +152,12 @@ pipeline {
|
||||
stage('Create Archive') {
|
||||
steps {
|
||||
dir(env.GIT_PATH) {
|
||||
if (params.ARCHIVE_FORMAT == 'zip') {
|
||||
sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
||||
} else {
|
||||
sh "tar -czf ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
||||
script {
|
||||
if (params.ARCHIVE_FORMAT == 'zip') {
|
||||
sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
||||
} else {
|
||||
sh "tar -czf ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user