jessehouwing / azure-pipelines-tfvc-tasks

Azure Pipelines tasks for Team Foundation Version Control
https://marketplace.visualstudio.com/items?itemName=jessehouwing.jessehouwing-vsts-tfvc-tasks
MIT License
27 stars 18 forks source link

Checkout Files regex not working #59

Closed ankitdholakiya closed 6 years ago

ankitdholakiya commented 6 years ago

When I use checkout regex

$(agent.builddirectory)\s*\ModuleMetaData.xml

The path is not found. I think regex is not supported in TFVC

jessehouwing commented 6 years ago

You need to pass in an itemspec. The format and options for itemspec in tfs are well defined.

On Nov 27, 2017 12:00, "ankitdholakiya" notifications@github.com wrote:

When I use checkout regex

$(agent.builddirectory)\s***ModuleMetaData.xml

The path is not found. I think regex is not supported in TFVC

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jessehouwing/vsts-tfvc-tasks/issues/59, or mute the thread https://github.com/notifications/unsubscribe-auth/AD-uSwUs6eS7whm6zXbO99jhGLVi1cAJks5s6pZJgaJpZM4QrdTz .

ankitdholakiya commented 6 years ago

Can you please give me link or example? I am not able to find it.

jessehouwing commented 6 years ago

https://docs.microsoft.com/en-us/vsts/tfvc/use-team-foundation-version-control-commands#specify-the-items-affected-by-a-command