Notifications emails from environment variable

Hi,

I want to add an email for notifications from an environment variable (I don’t want to keep it open in the codebase). I added the following lines but it’s not working:

  notifications:
    email:
      recipients:
      - $NOTIFICATIONS_EMAIL
      on_success: never
      on_failure: always

This is not possible. The notifications are configured when the build requests are received, and the environment variables are defined only when the build is executed.

Thank you for letting me know!

Imprint