What I'm looking for:
- How can we integrate into our Release Pipeline an automated solution for knowing if a new WebJob deploy entered the running status within 'X' period of time?
More Details:
We are using Azure DevOps Release Pipelines with the AzureRMWebAppDelopyment@4 task. We are able to deploy our Azure WebJob to staging and to production environments.
Recently we discovered that our WebJob had not actually started because of some bad code. Due to the nature of the WebJob it was not something we could easily identify in staging. We deployed the bad code to production and days later, due to bad alerting, learned the WebJob was not running and our queue was severely backed up.
This issue is that we want/need our release pipeline to report failures to start for each WebJob. APIs use HealthChecks to verify a deployment started up, is healthy, and otherwise actually good to go. We need to inspect the status of the WebJob during our release pipeline so the pipeline fails so we don't think everything is working when it's not.
In our research we've found we could potentially use Kudu, but how to get that working as part of the release pipeline has proven unfindable for us so far.
