Jenkins: Archive allure history

This commit is contained in:
Tobias Gruetzmacher 2020-11-27 00:00:11 +01:00
parent d0cc889a44
commit 0ac2f560a4
2 changed files with 2 additions and 0 deletions

1
Jenkinsfile vendored
View file

@ -126,6 +126,7 @@ def processAllure() {
deleteDir()
unstash 'allure'
sh 'docker run --rm -v $PWD:/work -u $(id -u) tobix/allure-cli generate allure-*'
zip archive: true, dir: 'allure-report', glob: 'history/**', zipFile: 'allure-history.zip'
publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report'
}
}

View file

@ -54,6 +54,7 @@ ansiColor('xterm') {
stage('Allure Report') {
sh 'docker run --rm -v $PWD:/work -u $(id -u) tobix/allure-cli generate allure-data'
zip archive: true, dir: 'allure-report', glob: 'history/**', overwrite: true, zipFile: 'allure-history.zip'
publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report'
}
}