【发布时间】:2019-03-19 06:22:45
【问题描述】:
我的文件夹中有测试结果,每次测试运行时都会更新新的执行结果。
[root@server test-results]# ls -lrt /var/log/test-results/
total 352
drwxrwxrwx. 14 root root 4096 Jan 10 10:28 9ca9cd74-21d3-4d39-b556-1ca914a37408
drwxrwxrwx. 14 root root 4096 Jan 10 10:41 4fc5f9fa-ee03-4370-98bc-0cca6dcb95d6
drwxrwxrwx. 14 root root 4096 Jan 10 13:00 9e7a9239-cbd4-48a1-929e-bf90892903b0
drwxrwxrwx. 14 root root 4096 Jan 11 09:09 544bd6c9-8d43-4e17-bbc7-8395498e98b6
drwxr-xr-x. 14 root root 4096 Jan 14 10:40 faa3284c-01b0-4581-89fd-57a1919d13b7
drwxr-xr-x. 14 root root 4096 Jan 14 11:31 ee84c6f4-048d-4e9d-96c0-2bc4f6ab3f53
drwxr-xr-x. 14 root root 4096 Jan 14 11:46 c229cacb-1e27-4629-a67f-3eb2965006f9
drwxr-xr-x. 14 root root 4096 Jan 14 12:35 2cca5070-0333-4d95-a1e5-c409c3185bf3
drwxr-xr-x. 14 root root 4096 Jan 14 13:13 e19c3bd1-3a1f-459a-b8f2-5e1bfad11fe9
每个文件夹都有测试数据,可以被 allure 引擎解析。
我正在尝试通过以下方式查看这些结果。
https://localhost:port/<test folder name/
https://localhost:port/9ca9cd74-21d3-4d39-b556-1ca914a37408/
https://localhost:port/4fc5f9fa-ee03-4370-98bc-0cca6dcb95d6/
https://localhost:port/9e7a9239-cbd4-48a1-929e-bf90892903b0/
https://localhost:port/544bd6c9-8d43-4e17-bbc7-8395498e98b6/
我尝试使用https://github.com/fescobar/allure-docker-service。这确实提供了一种查看魅力报告的方法。但是,它不能单独允许我为不同的测试结果提供单独的链接。相反,它可以仅在一个文件夹中显示数据的魅力报告。
我不确定正确的方法。如果需要任何信息,请告诉我。
【问题讨论】:
-
你找到实现这个的方法了吗,我也在尝试做同样的事情
标签: jenkins reporting-services automation report allure