1.安装 allure 插件
系统管理 =》 插件管理 =》 可选插件,搜索 allure 安装
2.全局工具配置
3.新建自由风格任务
1) 构建 执行shell
cd /home/jmp/autotest-interface/
python3 -m pytest test_cases --alluredir ${WORKSPACE}/allure-results
2) 构建后操作
4.查看结果
1.安装 allure 插件
系统管理 =》 插件管理 =》 可选插件,搜索 allure 安装
2.全局工具配置
3.新建自由风格任务
1) 构建 执行shell
cd /home/jmp/autotest-interface/
python3 -m pytest test_cases --alluredir ${WORKSPACE}/allure-results
2) 构建后操作
4.查看结果