Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
		
							parent
							
								
									5f9aa93968
								
							
						
					
					
						commit
						63ea1a6c68
					
				| @ -33,7 +33,7 @@ stages: | |||||||
|           Write-Host "##[section]Specific Variable Example:" |           Write-Host "##[section]Specific Variable Example:" | ||||||
|           Write-Host "BUILD_SOURCEBRANCH = $env:BUILD_SOURCEBRANCH" |           Write-Host "BUILD_SOURCEBRANCH = $env:BUILD_SOURCEBRANCH" | ||||||
|           Write-Host "BUILD_REPOSITORY_NAME = $env:BUILD_REPOSITORY_NAME" |           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 |           $diffResult = git diff --name-only origin/$(Build.Repository.DefaultBranch)...HEAD | ||||||
|           $folderFound = $false |           $folderFound = $false | ||||||
|           if ([string]::IsNullOrWhiteSpace($diffResult)) { |           if ([string]::IsNullOrWhiteSpace($diffResult)) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user