0
votes

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?

1

1 Answers

2
votes

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