问题
I am trying to implement the CI/CD process for my ASP.NET website. I have the build definition and release definition set up like this:
But when I queue a new build, the release task complained "Error: No package found with specified pattern: D:\a\r1\a***.zip". I think this is because the zip file path in release definition is wrong. What should I do to make the build task and release task play together?
回答1:
Your Archive task is after your Publish Artifacts task, so the zip file isn't included in the artifacts published by your build.
来源:https://stackoverflow.com/questions/49704066/vsts-release-task-cant-find-the-zip-file