Closed vitaly87 closed 1 year ago
Allure plugin has only outputDir
param.
So yes, make a report, make it available to Jenkins, and that should work fine
when we execute using chunks codeceptjs creates individual folders with individual xml n png(for failures). how to put together all reports together in allure ?
@Vaahin Try separating your instances and treat them as unique. In CI/CD like Jenkins, create a new view, create a job for each suite you want to run. In that view you can then choose what jobs you want to see. In this case each suite would run in their own container/machine/vm and you will always have one report generated.
@DavertMik this is just FYI the allure reporter has more than just outputDir as param.
For instance if I want allure report to work with cucumber setup I'ld need to install wdio-allure-reporter
and add useCucumberStepReporter: true
, but I guess this all goes down to what you need from allure
@Vaahin First: you must to use uniqueScreenshotNames: true,
in codeceptjs config.
After tests you should copy all of xml and png files to allure-report
directory (you must to create this dir), then use allure plugin: allure results: [[path: 'allure-report']]
What are you trying to achieve?
Hi, I am trying to run with codecept and allure reports. the issue that locally I can see all logs, but when I am trying to run with jenkins and plugin allure 2.7 then I cant see logs.
What do you get instead?
allure-results does not exists Report successfully generated to c:....allure-report Allure report was successfully generated.
I didnt understand what should be 2 params from plugin of allure
Results ->what it means? if my codeceptjs generate it to output folder...
Report path --?