Forum Discussion
The jenkins plugin provides a Test Complete Results on the build page, is this not what you are looking for?
As Jenkins plugin provide the testComplete Result on the build page and we also got the MHT report but how can we export the MHT report from jenkins to wiki ?
Any idea ?
Thanks
NG
- shankar_r6 years agoCommunity Hero
It is not the Jenkins confluence publisher plugin limitation.
The default rule for Jenkins is, each build step checks the previous step status if it is not SUCCESS then it won't go to next build/post build step and it stops where an error occurs. Some plug-ins might have override options so that irrespective of previous step status it will run.
From Document:
-
Action on warnings - Specifies whether Jenkins should mark the entire build as failed or unstable when the TestComplete test log contains warnings.
-
Action on errors - Specifies whether Jenkins should mark the entire build as failed or unstable when the TestComplete test log contains errors.
Answer to question is,
Make the two drop-down boxes in the TestComplete build step advanced options to None as like below image then you are all set.
-
- cunderw6 years agoCommunity Hero
You're getting an out of memory error, which probably means your mht is way too big. I would look into Log.LockEvents(); to reduce the number of events being logged and images which is likely what's causing the huge file size.
- shankar_r6 years agoCommunity Hero
It is not the actual MHT report, it is the UI rendered data with help of .htmlx and .tclogx files.
For each build, .htmlx and .tclogx files will be in below path. you can upload these files into Wiki, whenever you want you can open it via TestComplete.
{Jenkins_Home}\jobs\{job_name}\builds\{build_number}\tcreports
As of now option to export as MHT format from the build view
- nisgupta6 years agoValued Contributor
@shakar_r
Yes
- shankar_r6 years agoCommunity Hero
Just now got remembered, We have option to generate MHT file from the job.
Generate MHT log file - If this option is enabled, TestComplete exports test results to a .mht file after the build is over. You can download this file from the Jenkins page displaying test results.
If this option is disabled, TestComplete does not export test results in the MHT format, but you can still examine results in Jenkins. See Viewing TestComplete Test Results in Jenkins.
{Jenkins_Home}\jobs\{job_name}\builds\{build_number}\tcreports
Now you have MHT file you can do your pulgins to upload the MHT file into Confulense page - nisgupta6 years agoValued Contributor
yes we have the check box option to gnerate the MHT file. I always check this check box as we need to publish this report to confluence which is wiki .
I have attached the Post build actions from jenkins I am looking whether we have the option in Jenkins that can push this MHT report automatically to Confluence Wiki ?
Thanks
NG
- shankar_r6 years agoCommunity Hero
No, We have to use the external plug-in (like you are using currently) to do the upload or other kinds of stuff.
- nisgupta6 years agoValued Contributor
ok
I am concerned about the path of the MHT file on master jenkins. Attached the screenshot with the path.
Thanks
NG
Related Content
- 12 years ago
- 3 years ago
- 8 years ago
- 4 years ago
Recent Discussions
- 2 hours ago