The Test Complete plug-in for Jenkins export three logs by default and the MHT format is configurable. I can see all of them for a few seconds in the corresponding folder on the Jenkins agent, but they are deleted somehow after a few seconds (I can copy them and they can be opened).
I tried saving them as artefacts but I have the following message in the Jenkins log:
ERROR: No artifacts found that match the file pattern "*.htmlx, *.mht". Configuration error?
Can the log files be moved somewhere by the plug-in? Where?
1- I don't delete the workspace before the build starts or after.
2- I use the latest version of TestExecute on the computer that runs the Jenkins agent.
I don't see a direct way to do what you want. Maybe somebody else would have a solution.
Just an idea to explore: Maybe you can do it indirectly by importing the MHT file(s) into Jenkins as an artefact. If you have this file as artefact, then you can probably process it the way you want through scripts or a child Jenkins project.
Testcomplete -jenkins plugin has the option to generate MHT file. If this option is checked then whenever we run the Testcomplete script through jenkins then it generate MHT file. No isses at this point.