Is there way to send email on Deploy?
VBJV
Posts: 13 Bronze 2
in SQL Compare
Is there any way to configure an automated email to be sent when the Deploy part of SQL Compare 12/13 is used? I would love to have an alert or recap email of what got deployed from what server to what server go out to the team. It would act as sort of a safe guard to make sure only the necessary changes were deployed - and possibly catch stuff that didn't get pushed and should have - if someone reviews it.
Tagged:
Best Answers
-
AlexYates Posts: 264 Rose Gold 2(But you cannot trigger emails directly from SQL Compare.)Alex Yates
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn -
AlexYates Posts: 264 Rose Gold 2Apologies, just saw the notification.
Well you could write your own PowerShell to call the SQL Compare command line to do all the things, and then wrap that into some higher level orchestrated process using Octopus or similar.
Or you could buy a licence. No point reinventing the wheel. SQL Compare does not have email functionality because that's not how it's designed to be used.
If you want a full pipeline orchestration solution with email notifications the tool Redgate provides is DLM Automation, which plugs into the likes of Jenkins, Octopus, VSTS etc and should give you what you need.Alex Yates
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
Answers
Octopus Deploy:
https://octopus.com/
Integrating Octopus and Redgate DLM Automation (a PowerShell interface for SQL Compare and other RG tools):
https://documentation.red-gate.com/display/DLMA2/Octopus+Deploy+step+templates+reference
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn