感谢各位老师回复,问题已解决
1:执行命令修改为 pytest --alluredir=/var/jenkins_home/workspace/auto_test_invoice/automation_test/invoice_auto_test/test_cases/allure-results
2:allure 结果和报告路径分别修改为 automation_test/invoice_auto_test/test_cases/allure-results 和 automation_test/invoice_auto_test/test_cases/allure-report
下面有配置 allure 的两个路径吗,我是拿 docker 启的 jenkins