Reputation: 4084
When using azure devops with following pipeline task:
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml
displayName: 'publish coverage data'
This publishes the code coverage data as artifact, resulting in unneccessary downloads in the release pipelines of coverage data.
How can I either skip the download of specific artifacts in the release pipeline?
Or how can I tell pipelines, that I want to see the coverage data, but those are not artifacts to release?
Upvotes: 2
Views: 604
Reputation: 354
If you want to ensure that you maintain full control over what is published, you can use a combination of the two tasks "Copy Files" and "Publish Build Artifacts":
Upvotes: 0
Reputation: 40553
If you use release pipelines you can define on job details which artifacts you want to download:
Upvotes: 1