VSTS Release task can't find the zip file

折月煮酒 提交于 2019-12-11 21:27:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!