I have a Jenkins job which build server different types of products.
Only for some of the products am I interested in receiving an email notification whether the build failed or not.
Different parameters are passed to builds within Jenkins including "product", "releaseBranch" etc.
How can I selectively receive emails based on type of product I am building? Does Jenkins have a plugin for this?