[DAN-22] Apply first attempt fix to jenkinsfile spam
[DAN-22] Apply first attempt fix to jenkinsfile spam

Only sending emails when build fails.

 [rev: none]

hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpe-idol/find