Forum Discussion
Looks like the same proble someone else had:
Solved by running jenkins as a local account.
we still have this warning but our testcomplete projects are running fine on testexecute machines. At this time I am not sure what will be the long term impact of those warnings.
I have attached the screenshots for slave agent configurations
jenkins job configurations
Now oour goal is to export the mht file after the TestComplete tests get finished . Right now I have mentioned in the script itself . is there a way that we can put in Jenkins after post build ?
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.
- cunderw7 years agoCommunity Hero
The jenkins plugin provides a Test Complete Results on the build page, is this not what you are looking for?
- nisgupta7 years agoValued Contributor
*.mht report and I need to push this report to our Confluence as you can see in the screenshot which we have set up in PostBuild . But In order to make this work we have to write thiss code at the end
Log.SaveResultsAs("C:\\ ...\\...\\...\\ScholarshipTrackingSystemStatusHSC.mht",lsMHT)
Thanks
NG
- 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
Related Content
- 12 years ago
- 3 years ago
- 5 years ago
- 8 years ago