I'm trying to exclude $tf folder as part of artifact publishing using "Copy and Publish Artifacts" option as shown in the picture. But it always includes $tf folder and publishes all the files under this folder.
I tried this option, but no luck. https://social.msdn.microsoft.com/Forums/en-US/bb22c23e-cb44-44d2-8170-ba5609e9a688/need-help-excluding-the-tf-folder-and-sub-items?forum=TFService
"Copy files" is not an option for publishing artifacts, so it would be better if there is any option to exclude the folder.
Using Copy Files and Publish Build Artifacts tasks instead:
Contents:
**\*
!$tf\**
!**\$tf\**
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With