Reputation: 141
I want to send email notifications to different recipients when my tests fail in different folders.
Is this possible by using the Email-ext Jenkins plugin?
Upvotes: 1
Views: 3240
Reputation: 529
You can create an environment variable for the recipient list Then use Conditional Step plugin to determine where was the failure. Inside the Conditional step, use "Inject Environment Variables" plugin to set the mailing list on each case.
Then use this environment var at the Recipient List
Upvotes: 1