Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
		
							parent
							
								
									63ea1a6c68
								
							
						
					
					
						commit
						327e9063e5
					
				| @ -34,7 +34,7 @@ stages: | ||||
|           Write-Host "BUILD_SOURCEBRANCH = $env:BUILD_SOURCEBRANCH" | ||||
|           Write-Host "BUILD_REPOSITORY_NAME = $env:BUILD_REPOSITORY_NAME" | ||||
|           git fetch origin "$(Build.SourceBranchName)" main | ||||
|           $diffResult = git diff --name-only origin/$(Build.Repository.DefaultBranch)...HEAD | ||||
|           $diffResult = git diff --name-only origin/main...HEAD | ||||
|           $folderFound = $false | ||||
|           if ([string]::IsNullOrWhiteSpace($diffResult)) { | ||||
|               Write-Host "No diff results found." | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user