Is it possible to have one email notification sent for an environment deployment? Right now, we are getting emails for each product being deployed.
Hi Kim,
Thanks for getting in touch! To ensure I understand your question, can you expand on what you’re after? Are you wanting a summary for an entire environment, or emails when deploying to only one environment?
There may be a couple of options depending on your requirements. The subscription feature (introduced in Octopus 3.5) allows you to subscribe to certain events in Octopus. When they occur, an email or webhook notification will be sent. Email notifications are configured to send periodically and includes a digest of events that occurred in the specified timeframe within the email. Check out our docs and blog post which outlines the subscriptions feature in more detail.
I look forward to hearing back. I’ll be happy to help you find the best solution if this doesn’t meet your requirements.
Kind regards,
Kenny
Thank you for replying.
Right now, each time there is a deployment we are getting an email for each specific item. Is there a way to set up an email to be sent at the start of the deployment and just at the end of the deployment?
Thank you.
Kim Lefeber AINS/INS AIS, API
IT Supervisor |
[http://intranet.wbmi.com/departments/marketing/central/Brand%20Central%20Library/TWP_Milwaukee_2016_AW.jpg] [http://intranet.wbmi.com/departments/marketing/central/Brand%20Central%20Library/30BESTRETIRE.jpg] [http://intranet.wbmi.com/departments/marketing/central/Brand%20Central%20Library/BestPlacesLogo2016.jpg]
Hi Kim,
Thanks for following up! To ensure I fully understand your scenario and requirements, can you confirm some additional details?
- How do you currently have your email configured? Are you using an email step in each project?
- By “item”, do you mean each project is sending an email?
- Can you expand on what you mean by the start and end of the deployment? As in you promote your project through each environment in its lifecycle (i.e.
Development
>Production
), or when an individual deployment task starts and finishes?
An email step can be scoped to specific environments, so it will only be run when deploying to those environments.
With subscriptions, you can subscribe to deployment-specific events (as shown in the attached screenshot) which will send a notification when it occurs in Octopus.
I hope this helps, and I apologize if I’ve misunderstood what you’re after. Feel free to shoot through further questions and clarifications and I’ll be happy to help you reach the best solution.
Kind regards,
Kenny