Code for an Azure Function (generic webhook) that accepts a payload sent by Octopus Deploy and posts information to a Microsoft Teams channel.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GenericWebhookCSharp1
README.md
host.json

README.md

AzureFunction-OctopusToMicrosoftTeams

See the blog post at http://blog.deltacode.be/2016/11/17/azure-functions-octopus-deploy-and-microsoft-teams-channel/

Code for an Azure Function that:

  • accepts a payload sent by Octopus Deploy (via subscriptions) and
  • posts information to a Microsoft Teams channel (0365 web hook).

Inspiration found at

The Azure Function was started from the Generic WebHook C# template. Initially I coded the function directly in the Azure Portal, the feedback cycle is fast, the online editor is good enough for small things. When the code was complete, I set up continuous delivery. So every commit to the master will automatically update the code in Azure.