Reputation: 1292
I have created a Copy and Publish Build Artifacts build step in TFS 2015 with the following parameters:
The according to https://www.visualstudio.com/pl-pl/docs/build/steps/utility/copy-and-publish-build-artifacts it should not copy the subdirecttories but unfortunately it does it!
How to copy and publish build artifacts whitout subfolders?
Upvotes: 2
Views: 1767
Reputation: 31003
Please add the suffix of the files after **, then you won't get the subdirectories. For example, in the following setting, you'll only get .txt and .dll files under $(build.sourcesdirectory)\bin\Installers
, but you won't get .txt and .dll files in any sub folders under $(build.sourcesdirectory)\bin\Installers
:
Upvotes: 1