NJUHOBBY
NJUHOBBY

Reputation: 850

VSTS Release task can't find the zip file

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: build definition release definition

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?

Upvotes: 0

Views: 1464

Answers (1)

Daniel Mann
Daniel Mann

Reputation: 59016

Your Archive task is after your Publish Artifacts task, so the zip file isn't included in the artifacts published by your build.

Upvotes: 2

Related Questions