slaclab / anarel-manage

Manage the conda based analysis release environments that include psana at LCLS.
Other
3 stars 3 forks source link

subsequent success/failure emails for same step are rejected #47

Open davidslac opened 7 years ago

davidslac commented 7 years ago

The automation generates an email with failure/success headers here:

https://github.com/slaclab/anarel-manage/blob/master/pylib/anarelmanage/automation.py#L19

and

https://github.com/slaclab/anarel-manage/blob/master/pylib/anarelmanage/automation.py#L28

it sends it to pcds-ana-l, but that rejects it if the subject line is something it has seen before. One could modify the subject lines to include the date and time in order to make a unique subject.