目录
目录README.md

jianmu-runner-allure

介绍

allure_html报告生成

输入参数

allure_results_path: allure-results文件路径

输出参数

allure_report_path: allure-report文件路径

构建docker镜像

前提条件: 已安装docker环境

docker知识: 在 Docker 的 build 命令中,-f 和 -t 是两个选项,接受不同的参数:

-f 选项用于指定 Dockerfile 的文件路径。可以使用绝对路径或者相对路径。示例:docker build -f /path/to/Dockerfile . 或者 docker build -f ./path/to/Dockerfile .。

-t 选项用于指定要构建的镜像的名称及标签。名称和标签的格式为 [name]:[tag]。示例:docker build -t my_image:latest .。

# 格式说明
docker buildx build -f Dockerfile的路径 -t 镜像的名称及标签 镜像构建的目录
# 举例
docker buildx build -f dockerfile/Dockerfile -t floraachy/jianmu-runner-allure .

用法

docker run --rm \
  -v ./allure-results:xxx \
  -v ./allure-report:/allure-report \
  -e JIANMU_ALLURE_RESULTS_PATH=xxx \
   镜像的名称及标签
关于

建木流水线节点:allure_html报告生成

35.1 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号