allure-framework / allure2

Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
https://allurereport.org/
Apache License 2.0
4.07k stars 702 forks source link

The AllureReport section "Executors" is not formed if buildOrder contains dots #1558

Open dkrut opened 2 years ago

dkrut commented 2 years ago

Describe the bug buildOrder in executors.json have dots, so in AllureReport empty section "Executors".

I'm using TeamCity and allure-teamcity. To generate report using allure-commandline. Build_Number have dots, for example 5.1.1

To Reproduce

  1. executors.json generated by allure-teamcity:
    {
    "name": "TeamCity",
    "type": "teamcity",
    "buildName": "AutoTests / test # 5.1.1",
    "buildOrder": "5.1.1"
    }
  2. Copy executors.json to allure-results
  3. Generate allure report command: allure serve allure-results

Expected behavior The AllureReport section "Executors" contains information from executors.json

Screenshots image

Environment: Allure version 2.17.2
Test framework junit5@5.8.2
Allure adaptor allure-junit5@2.17.2
Generate report using allure-teamcity@2.11.0, allure-commandline@2.17.2
maksut07 commented 2 years ago

I support this problem on the 2.17.3 build = (I really want this problem to be solved as soon as possible

dkrut commented 2 years ago

I support this problem on the 2.17.3 build = (I really want this problem to be solved as soon as possible

My temporary solution: change the build number after generating the report. Before it using default build counter. It's works for me.