Need suggestion on sending report via email
Posted: Thu Oct 04, 2018 12:31 pm
Hi,
We are in a process to integrate Ranorex with Jenkins to run tests more often using CI jobs. Our setup is like
1 - Jenkins master machine A
>>>Used to start CI job
2- Jenkins slave machine B
>>>Used to build and copy AUT & RTS to some remote VM, scripts will be started on remote VM using PSEXEC
3- Remote virtual machine C
>>>Used for actual script execution to test AUT
As you can understand, scripts will be executed on machine C so reports will also be generated on this machine. Now to send these reports to intended recipients, I can think off two approaches
- Use Ranorex Automation Helper's email module - Currently I am testing with this module and it is working OK to send reports to multiple recipients .
- Use Jenkins Email plugin to send email with attached reports - ATM I am not sure how to do this because the test report is on machine C and I don't know a way to copy this report back to Jenkins slave so that i can send this report via email.
I am more inclined to use Jenkins email plugin to send reports via email due to the fact that more options(customization) are available in this plugin as compared to email module of Ranorex.
Is there a good way to fetch report from machine C(scripts execution machine) to machine B (Jenkins slave) so I can email to respective people using email plugin??
We are in a process to integrate Ranorex with Jenkins to run tests more often using CI jobs. Our setup is like
1 - Jenkins master machine A
>>>Used to start CI job
2- Jenkins slave machine B
>>>Used to build and copy AUT & RTS to some remote VM, scripts will be started on remote VM using PSEXEC
3- Remote virtual machine C
>>>Used for actual script execution to test AUT
As you can understand, scripts will be executed on machine C so reports will also be generated on this machine. Now to send these reports to intended recipients, I can think off two approaches
- Use Ranorex Automation Helper's email module - Currently I am testing with this module and it is working OK to send reports to multiple recipients .
- Use Jenkins Email plugin to send email with attached reports - ATM I am not sure how to do this because the test report is on machine C and I don't know a way to copy this report back to Jenkins slave so that i can send this report via email.
I am more inclined to use Jenkins email plugin to send reports via email due to the fact that more options(customization) are available in this plugin as compared to email module of Ranorex.
Is there a good way to fetch report from machine C(scripts execution machine) to machine B (Jenkins slave) so I can email to respective people using email plugin??