Description
We are trying to get the deployment status of a package deployment which has been deployed to azure WebApp slot.
During the deployment and once the deployment is successful we are getting only this status in case of linux: BuildSuccessful
- Tried with .war to a linux java tomcat stack.
- Tried with .jar to a linux java SE (Embedded web server) stack.
- Tried with .jar to a windows java code stack.
We are using this SDK version: azure-resourcemanager-appservice_2.26.1
We are following this example withTrackDeployment(true): https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/java/com/azure/resourcemanager/appservice/OneDeployTests.java#L104, but never got a RuntimeSuccessful.
Any idea why we always get only BuildSuccessful in case of linux?
Can we rely on this SupportsOneDeploy implementation in order to see if the application is getting successfully deployed?
We have tried to call the API directly for windows java code WebApp, and there we always get when first time checking the status: BuildSuccessful, and all next time we check the status is: RuntimeStarting, even after the deployment is done on azure WebApp we anyway get: RuntimeStarting and never got RuntimeSuccessful
https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/get-production-site-deployment-status?view=rest-appservice-2022-09-01&tabs=HTTP