Unable to generate allure report for failed test cases in jenkins

Hello Team,

I am unable to generate allure report for failed test cases in jenkins of codeceptJS. Whereas i am able to get the report for passed test cases.

My codeceptJS version is 3.0.7 and jenkins version is 2.304 and allure version is 2.29.

FAIL | 1 passed, 3 failed // 5m
› Stopped SeleniumStandaloneLauncher
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch UI-TEST
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE