Add Support for Expressions in Pipeline Notifications
in progress
T
Tan Cod
Please make the
emails of your recipients
box in the notification section of a pipeline able to perform expression resolution.Pipeline -> notify -> new notification -> on failure -> email -> <+expression of user email based on who approved something in the pipeline>
<+pipeline.stages.Run_terraform.spec.execution.steps.HarnessApproval_1.output.approvalActivities[0].user.email>
This could be as easy as removing or changing a regex validation for the box.
Log In
This post was marked as
in progress
S
Sleepy Reptile
please add this, as I would like to see ability to send email to PR author when his automatically triggered CI build fails. It's such a basic task that is missing from new king of CI/CD landscape from south of Gartner magic quadrant.
S
Silver Grasshopper
This would be a nice feature. Currently we can only hardcode users in the email recipient field, we would like to use the expression <+pipeline.triggeredBy.email> so that the person executing the pipeline gets the email notification.
I tested this and we can add expressions for the email recipient field, but it works only when editing the pipeline yaml.
<+<+pipeline.triggerType>=="MANUAL"?<+pipeline.triggeredBy.email>:<+codebase.gitUserEmail>>
F
Fawn Antelope
And the title of the notification, so we can notify which branch failed etc. basically, expressions and variable resolution found in notifications
Rohan Gupta
long-term