generateAllureReport.sh fails when no. of allure-results files increases
See original GitHub issueWhen the test cases increases, the resulting number of files in allure-results keeps of increasing.
Before generating new report. Allure deletes the old reports using allure generate --clean
Deleting 1000s of files at one go gives out this error:
Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long Detecting new results… Generating report Report successfully generated to allure-report Detecting new results… /app/checkAllureResultsFiles.sh: line 24: /app/generateAllureReport.sh: Argument list too long /app/checkAllureResultsFiles.sh: line 26: /bin/sleep: Argument list too long /app/checkAllureResultsFiles.sh: line 20: /bin/ls: Argument list too long
Resolution: According to me, before running allure generate --clean
in generateAllureReport.sh
you should delete the existing files in allure-results using the resolution given here
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
I’m closing this issue. I understand the issue reported was fixed. Thanks.
@abhimassive Please create another issue for this and give me more details like commands or any explanation about what do you want to do.