I have a "Release" that I intend to use to publish to a remote share.
I have created a Copy Files task which works. However my build artifacts are all below two subfolders [UI] Build/drop. I want to copy the contents of the drop folder rather than the entire thing. Unfortunately I only seem to be able to copy the entire thing!
Task (copies all files and folders):
- Source Folder:
$(System.DefaultWorkingDirectory)/ - Contents:
** - Target Folder:
\\myshare\test
So I tried to only copy the contents (with support from this article) of UIBuild/drop but nothing gets copied in any of these cases:
- Changing
Source Folderto$(System.DefaultWorkingDirectory)/[UI] Build/Drop. - Keeping
Source Folderas it was but changingContentsto[UI] Build/drop/** - Keeping
Source Folderas it was but changingContentsto**/[UI] Build/drop/** - Keeping
Source Folderas it was but changingContentsto**/drop/**
What am I doing wrong?