azure-devopsazure-pipelines-release-pipelinebuild-pipeline

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?


Solution

  • 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