i am using Jenkins to run my test cases with the following command:
xvfb-run -a ./katalon -noSplash -runMode=console -consoleLog -projectPath="/tests/katalon/Automation.prj" -reportFolder="Reports/regression" -reportFileName="report_$BUILD_NUMBER" -retry=1 -retryFailedTestCases=true -testSuitePath="Test Suites/Regression" -executionProfile="default" -browserType="Firefox (headless)"
I am writing the reports into the specific subfolder Reports/regression/ and have configured to retry the failed test cases.
My issue is that if a test case failes and will be retried, my report file only contains the retried cases. It looks like the report file from the “initial run” is simply overwritten.
Am i doing something wrong?