Hello Friends, I am new to Jenkins and configuring a job to run my automated selenium tests and have a need to send the email based on my build result and attachments.
Current Scenario - After my test run , i am attaching an .xml file and screenshots to the email notification. Content Type : Default Content Type Default Subject : Smoke Test build results Default Content : Attached is the html report for smoke tests and screen shots of failed tests. Attachments:xxxx/target/surefire-reports/emailable-report.html,xxxxxt/target/surefire-reports/screenshots/*.png My requirements : 1. If there is attachment and no screen shots , i need default content to be and only attachment location. Default Content : Attached is the html report for smoke tests Attachments:xxxx/target/surefire-reports/emailable-report.html,xxxxxt/target/surefire-reports/screenshots/*.png111 2. If there is no attachement and screenshots , default content should be Default Content : Configuration issues , attachment missing. Any help is appreciated. Thanks Jyo -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0c9dfe6f-620f-42fe-bedf-bfa1f4ee0e14%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
