Download Pipeline Artifact Location ((exclusive)) Site
When using the default settings, the exact subfolder structure depends on whether you specify an artifact name:
steps: - download: current artifact: webapp path: $(Build.SourcesDirectory)/bin # Redirects download location Use code with caution. Key Variables for Path Referencing download pipeline artifact location
By default, the task in Azure DevOps downloads files to the directory defined by the $(Pipeline.Workspace) variable. This location is typically one level above the default working directory ( $(System.DefaultWorkingDirectory) ) and provides a clean workspace for every job. Default Download Path Structures When using the default settings, the exact subfolder
If you specify an artifact name (e.g., "drop"), files are downloaded to $(Pipeline.Workspace)/ . When using the default settings
If no specific artifact is named, the task creates a separate subdirectory for every artifact found in the pipeline run: $(Pipeline.Workspace)/ , $(Pipeline.Workspace)/ , etc.