I have created two pipelines in my DevOps environment, the first one is a “build” pipeline, which gets triggered when i commit to the develop branch. This pipeline runs successfully and creates an artifact of my application (NodeJs + Angular). This works, nothing special here.
After creating the artifact, a “release” pipeline get’s triggered, this pipeline only downloads the artifact and then deploys it using ZIP deploy:
******************************************************************************
Starting: Deploy Azure App Service
******************************************************************************
==============================================================================
Task : Azure App Service deploy
Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
Version : 4.240.2
Author : Microsoft Corporation
Help : https://aka.ms/azureappservicetroubleshooting
==============================================================================
Got service connection details for Azure App Service:'app-contoso-dev'
Package deployment using ZIP Deploy initiated.
When i look in the logs of my App Service (Deployment Center page) i can see that the deployment is executed and successful after about 20 minutes. I can confirm that everything works and is updated properly.
The last message i can see in the logs on the deployment center page is:
Deployment successful. deployer = VSTS_ZIP_DEPLOY deploymentPath = ZipDeploy. Extract zip.
`
**However, it looks like my agent is not receiving any feedback of the successful deployment, causing it to fail after about 6 hours! (I use a self hosted agent).
**
I already searched for a solution but i am not able to find one, I also cannot figure out how the agent should know that the deployment was successful.