Axify can track deployments from azure DevOps by utilizing Azue DevOps webhooks. There is multiple way to deploys applications using Azure DevOps and Axify support mostly:
- Deploying applications via multistage pipeline
- Deploying applications via release pipelines(Classic way)
Therefore based on the desired mean of deployment, the configuration in Azure DevOps for the corresponding webhooks will differ.
Common step:
- Navigate to the service hooks configuration section for you project by following 'Project settings' > 'Service hooks'
- Create new subscription
- Choose 'Web Hooks'
- Click 'Next'
Configuration for multistage pipeline
- Choose the 'Run stage state changed' as a trigger
- Since there is now way to determine if a pipeline stage is a deployment or a simple build stage from the webhook event data alone, the configured webhook needs to target the stage that is considered a deployment. In the example Bellow we target the 'Deploy the application to production' in the project 'Agile Process Test' pipeline
- Selecting the target pipeline
- Select the target stage
- Selecting the target pipeline
- Click 'Next'
- Using the generated webhook information from Axify, fill in:
- The 'URL' section
- The 'HTTP headers' section.
- (Optional) You can test the connection to Axify webhook service by clicking the 'Test' button
- Click 'Finish' to confirm the configuration and add the webhook
Configuration for release pipelines
- Choose the 'Run stage state changed' as a trigger
- Click 'Next'
- Using the generated webhook information from Axify, fill in:
- The 'URL' section
- The 'HTTP headers' section
- (Optional) You can test the connection to Axify webhook service by clicking the 'Test' button
- Click 'Finish' to confirm the configuration and add the webhook
From this point forward, any deployment from those pipelines, either the multistage one or the release one, will be captured by Axify.