allure安装配置

代理节点配置allure

下载allure

https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline

配置环境变量

image-20220212141649105

image-20220212141750972

任务配置生产allure

下载插件

插件管理,下载插件 Allure Jenkins Plugin

Jenkins配置allure插件

全局工具配置Global Tool Configuration

image-20220214151743151

这里提示的是主节点没有这个目录,不用管它,因为是在指定的代理节点使用,所以这里配置的路径是代理节点的allure路径

任务配置

任务管理-构建环境-构建后操作,选择Allure Report

image-20220212170420946

配置allure结果文件目录

image-20220212170501456

任务构建完成会生成allure报告

image-20220212170627220

posted @ 2022-02-12 17:42  唐大侠的小迷弟  阅读(93)  评论(0编辑  收藏  举报