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') {
|
stage('Create Archive') {
|
||||||
steps {
|
steps {
|
||||||
dir(env.GIT_PATH) {
|
dir(env.GIT_PATH) {
|
||||||
if (params.ARCHIVE_FORMAT == 'zip') {
|
script {
|
||||||
sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
if (params.ARCHIVE_FORMAT == 'zip') {
|
||||||
} else {
|
sh "zip -q ${env.ARCHIVE_FILENAME} diplomarbeit.pdf* spellcheck-results.txt"
|
||||||
sh "tar -czf ${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