based on https://nozaki.me/roller/kyle/entry/articles-jenkins-email, in a Free style Jenkins Project, I configured a job to send emails even when the build is pass.
However, it only got triggered only when build is failed . For the build pass instances, the output is as per below and not sending an email.
Started by user De Silva, Sameera
Running as SYSTEM
BigPanda Notifier: Success
[EnvInject] - Loading node environment variables.
Building remotely on slave_1 in workspace /opt/software/jenkins/workspace/SNOW_Automation/mvnpath
No emails were triggered.
[mvnpath] $ /bin/sh -xe /tmp/jenkins1851354422188041636.sh
+ echo sameera
sameera
BigPanda Notifier: Success
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: sam@org.com
Not sent to the following valid addresses: sam@org.com
Finished: SUCCESS
Here are the screenshots of post-build action.
Here is the screenshot of Post build trigger.
Kindly help.