Sources and output directory: Same operation as Sources option above, plus: Deletes and recreates $(Build.BinariesDirectory). More specifically, the following Git commands are executed prior to fetching the source. Sources: The build pipeline performs an undo of any changes in $(Build.SourcesDirectory). parameters:īy default, clean is set to false but can be overridden when manually running the pipeline by checking the Checkout clean checkbox that is added for the runtime parameter. In the following example, a runtime parameter is used to configure the checkout clean setting. To override clean settings when manually running a pipeline, you can use runtime parameters. Select YAML, Get sources, and configure your desired Clean setting. To configure the Clean setting:Įdit your pipeline, choose.