1.安装 allure 插件

系统管理 =》 插件管理 =》 可选插件,搜索 allure 安装

 

2.全局工具配置

jenkins 构建 allure

 

3.新建自由风格任务

  1) 构建 执行shell

  

cd /home/jmp/autotest-interface/
python3 -m pytest test_cases --alluredir ${WORKSPACE}/allure-results

 

  jenkins 构建 allure

  

  2) 构建后操作

  jenkins 构建 allure

 

4.查看结果

jenkins 构建 allure

 

相关文章:

  • 2022-02-10
  • 2021-09-12
  • 2022-02-26
  • 2021-09-21
  • 2021-06-19
  • 2021-05-29
  • 2022-01-13
  • 2021-05-02
猜你喜欢
  • 2021-09-16
  • 2022-03-01
  • 2021-12-29
  • 2021-06-25
  • 2021-11-02
相关资源
相似解决方案