CI: Use podman for Allure

This commit is contained in:
Tobias Gruetzmacher 2022-05-24 23:11:46 +02:00
parent 88113b9302
commit 4a45270b65

2
Jenkinsfile vendored
View file

@ -119,7 +119,7 @@ def processAllure() {
unzip dir: 'allure-data', quiet: true, zipFile: 'allure-history.zip' unzip dir: 'allure-data', quiet: true, zipFile: 'allure-history.zip'
sh 'rm -f allure-history.zip' sh 'rm -f allure-history.zip'
} }
sh 'docker run --rm -v $PWD:/work -u $(id -u) docker.io/tobix/allure-cli generate allure-data' sh 'podman run --rm -v $PWD:/work --userns=keep-id docker.io/tobix/allure-cli generate allure-data'
zip archive: true, dir: 'allure-report', glob: 'history/**', zipFile: 'allure-history.zip' zip archive: true, dir: 'allure-report', glob: 'history/**', zipFile: 'allure-history.zip'
publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report' publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report'
} }