I have Created a CI Pipeline in Azure Devops. My Repo is Azure DevOps Repo.
My Repo size is big so i do NOT want some of Folders to be downloaded on agent machine as Those folders are redundant for code build.
What changes i need to do in my pipeline yaml file?
for example FolderX should not be downloaded
It will clone the whole repository content even you add .gitignore.
You could customize the checkout step via Command line task with "git sparse-checkout".
Sample as below:
You can find similar link here and here.