PublishBuildArtifacts appears to publish sub-directories
See original GitHub issue@weshaggard commented on Feb 15, 2019, 4:59 PM UTC:
Doc says Subdirectories of the specified path will not be published. Wildcards in the path are not supported.
but from my testing that appears to be incorrect it definitely appears to be publishing all files and sub-directories under the path that is given to it. So either the documentation is incorrect or the product has a bug.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 0b3f565b-88e4-88d6-a534-48ec21e6e3d8
- Version Independent ID: 9fca89ae-4a6e-a43a-2834-1a91ad44c256
- Content: Publish Build Artifacts task - Azure Pipelines
- Content Source: docs/pipelines/tasks/utility/publish-build-artifacts.md
- Product: devops
- GitHub Login: andyjlewis
- Microsoft Alias: alewis
This issue was moved by davidstaheli from MicrosoftDocs/vsts-docs#3381.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
PublishBuildArtifacts@1 - Publish build artifacts v1 task
Use this task in a build pipeline to publish build artifacts to Azure Pipelines, TFS, or a file share. Syntax. YAML Copy. # ......
Read more >azure pipelines - Build and publish artifact task questions
It's the Artifact name you specify by yourself. Usually, you publish $(Build.ArtifactStagingDirectory) folder to DevOps.
Read more >Archive the Azure repo and publish the artifact
I am trying to make a zip of my code which is reside in azure repo . What i want is copy the...
Read more >Single Build with Multiple Artifacts
... x64 - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: ... each job is simpler (no need to specify an artefact subfolder), ...
Read more >Understanding the directory structure created by Azure ...
The publish build artifacts task creates an artifact of whatever is in this ... While this may seem like an edge case, one...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note that removing subfolders from task’s scope will cause regressions for everyone who already uses the task and relies on its existing behavior. It will be safer to just remove the misleading line from the Doc.
The docs were updated so closing out now