allure-docker-service
allure-docker-service copied to clipboard
Export email reports for past reports
Hi @fescobar,
Thanks for creating this docker images and the API. It's really useful.
I had a requirement in my company about export past report with the "Export emailable report" feature. Is there some workaround to generate reports for previous reports?
If not, do you think it can be possible to add this option as a feature in the API? I'm open to contribute if you think is possible
Hi @ignaciocabeza
Currently, the report folder is hardcoded to latest
.
https://github.com/fescobar/allure-docker-service/blob/master/allure-docker-api/app.py#L1139
I think you should create a new optional query parameter named report_id
(by default latest
) and get the specific report.
You don't need to check if a process is running for the past reports. The same when you export that report.
You can create a PR from my beta branch and once you finished I could review that. Thank you in advance.
Hi @fescobar. Good!.
I will check beta
branch. Thanks for the tips.