allure-results does not exist
D:\Python_work\Jmeter_to_allure>exit 0 
[workspace_1] $ allure.bat generate D:\Python_work\Jmeter_to_allure1023_1\report\allure-results -c -o D:\Python_work\Jmeter_to_allure1023_1\report\html

allure-results does not exist

Report successfully generated to C:\Users\.jenkins\workspace\workspace_1\html
Allure report was successfully generated.
Creating artifact for the build.
Artifact was added to the build.

results Path:构建命令中-o之前对应的参数

也就是说 'allure ' + 'generate ' + f"{ALLURE_REPORT_JSON_PATH} " + '-o ' + "./report/html" + ' --clean'
我这里的path就是ALLURE_REPORT_JSON_PATH对应 D:\Python_work\Jmeter_to_allure1023_1\report

在这里插入图片描述
我这里的path就是ALLURE_REPORT_JSON_PATH对应 D:\Python_work\Jmeter_to_allure1023_1\report
所以jenkins-Allure Report-path配置哪里我填allure-result即可
在这里插入图片描述

Report path

allure报告的路径(默认即可)

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐