diff --git a/Jenkinsfile b/Jenkinsfile index c10a694b5..b65240eaa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -125,7 +125,7 @@ def processAllure() { node { deleteDir() unstash 'allure' - sh 'docker run --rm -v $PWD:/work tobix/allure-cli generate allure-*' + sh 'docker run --rm -v $PWD:/work -u $(id -u) tobix/allure-cli generate allure-*' publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report' } } diff --git a/tests/modules/Jenkinsfile b/tests/modules/Jenkinsfile index e52d70351..e8fbbd8d0 100644 --- a/tests/modules/Jenkinsfile +++ b/tests/modules/Jenkinsfile @@ -50,7 +50,7 @@ ansiColor('xterm') { } stage('Allure Report') { - sh 'docker run --rm -v $PWD:/work tobix/allure-cli generate allure-data' + sh 'docker run --rm -v $PWD:/work -u $(id -u) tobix/allure-cli generate allure-data' publishHTML reportDir: 'allure-report', reportFiles: 'index.html', reportName: 'Allure Report' } }