tfsbuild - Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition -


i'm struggling getting tfs build definition exclude entire folder , of contents "copy files" step, shown here: enter image description here

here's i'm trying do:

copy everything except folder named 'node_modules' from:

\\test\source 

to:

\\test\destination 

the path of folder need exclude is:

\\test\source\appsjs\v3\node_modules 

i can exclude files using same pattern have above, can't figure out how exclude entire folder.

i've seen suggesting using -: well, haven't been able work.

i've tried looking @ "copy files" documentation here, , read more here , here, i'm still missing something.

any appreciated!

you should set contents 2 lines as:

**\** !appsjs\v3\node_modules\** 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -