Search code examples
azure-pipelinesazure-devops-server-2019

How to stop checkout from TFVC repositories in Azure develops server pipeline?


I have found some solution here: Checkout part of a branch in Azure DevOps Pipelines (GetSources)

But the concern is I am not using yml script to configure the pipeline. I have configured the pipeline like this:

Getsource in TFS pipeline

I can view my yml script from here: View YML

But not able to edit this script from there

please let me know if anyone has an idea on it.


Solution

  • Please add the variable Build.SyncSources = false in your vNext build definition to disable the get sources step.

    Refer to Disabling Get Sources step in vNext build for details. It's also applied to Azure DevOps Server 2019.

    enter image description here