Assumptions
The following info assumes that you are appropriately publishing your build artifact from your Build pipeline, and that you have added the correct build artifact into you release pipeline.
In your release pipeline you have specified a build artifact in the Artifacts
area

When adding your build artifact to your release pipeline, you chose to give it an alias of Build Artifact
. This means that at the very lease (with default settings) your .zip
file will be in some sub-directory of $(system.DefaultWorkingDirectory)/Build Artifact/
A new unique folder in the agent is created for every release pipeline when you initiate a release, and the artifacts are downloaded into that folder. The $(System.DefaultWorkingDirectory) variable maps to this folder.
To ensure the uniqueness of every artifact download, each artifact source linked to a release pipeline is automatically provided with a specific download location known as the source alias. This location can be accessed through the variable:
$(System.DefaultWorkingDirectory)\[source alias]
This uniqueness also ensures that, if you later rename a linked artifact source in its original location (for example, rename a build pipeline in Azure Pipelines or a project in Jenkins), you don't need to edit the task properties because the download location defined in the agent does not change.
The source alias is, by default, the name of the source selected when you linked the artifact source, prefixed with an underscore; depending on the type of the artifact source this will be the name of the build pipeline, job, project, or repository. You can edit the source alias from the artifacts tab of a release pipeline; for example, when you change the name of the build pipeline and you want to use a source alias that reflects the name of the build pipeline.
(from some of the abundant documentation
Instead of searching for your package using ***.zip
(which isn't proper wildcard syntax) use Build Artifact/**/*.zip
**
is for recursively searching into directories
- (I don't know what folder)
*
is for searching a part of a given level of the path
- any file/folder that
- starts with (
SomeFile.*
)
- ends with (
*File.zip
)
- and i think contains (
*meFi*
)
No package found with specified pattern: D:\a\r1\a***.zip
. It can't find the file you're telling it to deploy. Validate that the file you're trying to push exists in your build artifacts and is downloaded to the location you're specifying. – Daniel Mann