Sharvani
Sharvani

Reputation: 111

Error while deploying release pipeline in Azure Devops

I am trying to deploy an existing .Net Core application using Azure Devops by creating Build and release pipelines. The build pipeline worked fine, but I get the below error when running the release pipeline (under Deploy Azure App Service).

Error: No package found with specified pattern: D:\a\r1\a***.zip
Check if the package mentioned in the task is published as an artifact in the build or a previous stage and downloaded in the current job.

What should be done to fix this?

Upvotes: 0

Views: 1480

Answers (1)

Miao Tian-MSFT
Miao Tian-MSFT

Reputation: 5432

This error is because the build task is not configured. You can try to put the below YAML code at the last to make it work.

- task: PublishBuildArtifacts@1

Upvotes: 2

Related Questions