Create deployments from Azure DevOps Releases
If you are using Releases in Azure DevOps, you should use our extension to notify elmah.io about new deployments. To install and configure the extension, follow the simple steps below:
Go to the elmah.io Deployment Tasks extension on the Visual Studio Marketplace and click Install (log in if not already).
Select the account to install the extension into and click Confirm:
Go to your Azure DevOps project and edit your Release definition.
Click Add tasks and locate the elmah.io Deployment Notification task. Click Add.
Copy your API key from your organization settings page and paste it into the API Key field. In most cases, you want to input the ID of the log new deployments belong to. As default, we use the release name on Azure DevOps as the version number string on elmah.io. If you require a custom naming scheme, change the value in the Version field. All default and custom release variables are available through PowerShell variables. Finally, click Save.
That's it! Azure DevOps will now notify elmah.io every time the release definition is executed. Remember to input a specific log ID as well, if you want to support versioning different services.
This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening and help you fix errors fast.