From 63ea1a6c68f4f9715c69324c3a7aeb543170242f Mon Sep 17 00:00:00 2001 From: Jojo Aquino Date: Mon, 21 Apr 2025 08:11:22 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 879eff4..6eb2b06 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,7 +33,7 @@ stages: Write-Host "##[section]Specific Variable Example:" Write-Host "BUILD_SOURCEBRANCH = $env:BUILD_SOURCEBRANCH" Write-Host "BUILD_REPOSITORY_NAME = $env:BUILD_REPOSITORY_NAME" - git fetch origin "$(Build.SourceBranchName)" "$env:BUILD_REPOSITORY_DEFAULTBRANCH" + git fetch origin "$(Build.SourceBranchName)" main $diffResult = git diff --name-only origin/$(Build.Repository.DefaultBranch)...HEAD $folderFound = $false if ([string]::IsNullOrWhiteSpace($diffResult)) {