nish_b
4 years agoContributor
How to retrieve the value (filepath) given in /ExportLog command line parameter in Jenkins Pipeline?
Hi, I have a Jenkins pipeline configured to run TestComplete scripts in a remote machine using TestExecute. I use JenkinsFile with Groovy to specify the command line arguments for the tests to be...
- 4 years agoHi nish_b ! I asked the team, here's what I got:>> If I understand the user correctly, they just need to have exported log on Agent PC with a name which they know. TC allows specifying several /ExportLog keys.
So, the user can specify an additional key with a path which is definedcommandLineArguments: '/ExportLog:"C:\\Temp\\33333.xml"'
and specify it for the email step.Also, TC allows sending emails from the script code. The concept will be: save the log on disk, execute the code for sending the email. But this can be a bit more complicated.<<Please let me know if this is what you were looking for!