Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Current Situation
If you configure the warn_if_longer_than or warn_if_shorter_than attribute then an email is sent when the specified time is reached.
A possibly mail setting in the job doesn't used.
<job warn_if_longer_than="10"> <settings > <mail_on_error ><![CDATA[yes]]></mail_on_error> <mail_on_warning ><![CDATA[false]]></mail_on_warning> <log_mail_to ><![CDATA[xx@sos-berlin.com]]></log_mail_to> </settings> <script language="shell"> <![CDATA[ sleep 60 ]]> </script> </job>
Only the settings in the ./config/factory.ini are used.
If the log_mail_to entry is empty in the ./config/factory.ini then the mail is not sent even the job has a configured "to" recipient.
Desired Behavior
A mail setting in the job has to be consider for the "warn_if_longer|shorter_than" mails