How to export junit report generated through TestComplete plugin in Jenkins to my workspace
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to export junit report generated through TestComplete plugin in Jenkins to my workspace
Hi All,
I am using Jenkins server with TestComplete Test plugin enabled to trigger my tests. I have enabled Generate Junit Style report in TestComplete plugin and observed 'junitResult.xml' file is generated in jenkins build location. I wanted to copy this file from jenkins location to my workspace (slave location). Is there any way to get this file?
My jenkins server is hosted in Linux OS and my execution is happening in Windows OS.
Thanks in advance.
Regards,
Karthik K R
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Junit results used to generate in the machine where TestComplete being executed, 'junitResult.xml' is not the actual result.
If you seeing this command line in your slave machine job console output, then highlighted in red is the Junit report.
'"C:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestCompleteService12.exe"' //LogonAndExecute //lDomain: "" //lName: "Administrator" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestExecute.exe"
c:\jenkins\workspace\AllTestsSuite\Framework.pjs /run /SilentMode /ForceConversion /ns /exit
/ExportLog:c:\jenkins\workspace\AllTestsSuite\5688397.tclogx
/ExportLog:c:\jenkins\workspace\AllTestsSuite\5688397.htmlx
/ErrorLog:c:\jenkins\workspace\AllTestsSuite\5688397.txt /DoNotShowLog
However, if you still want to copy some files from your slave to master now then you can use below jenkins plugins to do,
https://wiki.jenkins.io/display/JENKINS/File+Operations+Plugin
https://wiki.jenkins.io/display/JENKINS/Copy+Artifact+Plugin
Thanks
Shankar R
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shankar,
Thanks for your response.
Actually I wanted to copy file from Master(Jenkins server) to Slave machine post TestComplete execution. When we check Generate Junit Style report in TestComplete plugin, actually it creates a file 'junitResult.xml' in the build location in the Jenkins server.
I have found a solution to copy that file from Master to Slave using PSCP command. It works well in my case to copy the file.
Thanks again.
Regards,
Karthik K R
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You are saying that the juntReport.xml isn't the result but when I look at my folder after the build I don't see any .txt file as in the command line.
Is there an option to activate to see it or something like this?
