| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -8,18 +8,18 @@ steps:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    arguments: |
 | 
					 | 
					 | 
					 | 
					    arguments: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        -ToolName "$(TOOL_NAME)"
 | 
					 | 
					 | 
					 | 
					        -ToolName "$(TOOL_NAME)"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					- task: PowerShell@2
 | 
					 | 
					 | 
					 | 
					# - task: PowerShell@2
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  displayName: 'Cancel build'
 | 
					 | 
					 | 
					 | 
					#   displayName: 'Cancel build'
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  condition: and(succeeded(), eq(variables['Get_versions.TOOL_VERSIONS'], ''))
 | 
					 | 
					 | 
					 | 
					#   condition: and(succeeded(), eq(variables['Get_versions.TOOL_VERSIONS'], ''))
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  inputs:
 | 
					 | 
					 | 
					 | 
					#   inputs:
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    TargetType: inline
 | 
					 | 
					 | 
					 | 
					#     TargetType: inline
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    script: |
 | 
					 | 
					 | 
					 | 
					#     script: |
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      Import-Module "./azure-devops/azure-devops-api.ps1"
 | 
					 | 
					 | 
					 | 
					#       Import-Module "./azure-devops/azure-devops-api.ps1"
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      $azureDevOpsApi = Get-AzureDevOpsApi -TeamFoundationCollectionUri $(System.TeamFoundationCollectionUri) `
 | 
					 | 
					 | 
					 | 
					#       $azureDevOpsApi = Get-AzureDevOpsApi -TeamFoundationCollectionUri $(System.TeamFoundationCollectionUri) `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                           -ProjectName $(System.TeamProject) `
 | 
					 | 
					 | 
					 | 
					#                                            -ProjectName $(System.TeamProject) `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                           -AccessToken $(System.AccessToken)
 | 
					 | 
					 | 
					 | 
					#                                            -AccessToken $(System.AccessToken)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      $AzureDevOpsApi.UpdateBuildStatus($(Build.BuildId), 'Cancelling') | Out-Null
 | 
					 | 
					 | 
					 | 
					#       $AzureDevOpsApi.UpdateBuildStatus($(Build.BuildId), 'Cancelling') | Out-Null
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					- task: PowerShell@2
 | 
					 | 
					 | 
					 | 
					- task: PowerShell@2
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  displayName: 'Set env variable'
 | 
					 | 
					 | 
					 | 
					  displayName: 'Set env variable'
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -30,15 +30,15 @@ steps:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      $PipelineUrl = "$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
 | 
					 | 
					 | 
					 | 
					      $PipelineUrl = "$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      Write-Output "##vso[task.setvariable variable=PIPELINE_URL]$PipelineUrl"
 | 
					 | 
					 | 
					 | 
					      Write-Output "##vso[task.setvariable variable=PIPELINE_URL]$PipelineUrl"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					- task: PowerShell@2
 | 
					 | 
					 | 
					 | 
					# - task: PowerShell@2
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  displayName: 'Send Slack notification'
 | 
					 | 
					 | 
					 | 
					#   displayName: 'Send Slack notification'
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  condition: and(succeeded(), ne(variables['Get_versions.TOOL_VERSIONS'], ''))
 | 
					 | 
					 | 
					 | 
					#   condition: and(succeeded(), ne(variables['Get_versions.TOOL_VERSIONS'], ''))
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  inputs:
 | 
					 | 
					 | 
					 | 
					#   inputs:
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    targetType: filePath
 | 
					 | 
					 | 
					 | 
					#     targetType: filePath
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    filePath: './get-new-tool-versions/send-slack-notification.ps1'
 | 
					 | 
					 | 
					 | 
					#     filePath: './get-new-tool-versions/send-slack-notification.ps1'
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    arguments: |
 | 
					 | 
					 | 
					 | 
					#     arguments: |
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      -Url "$(SLACK_CHANNEL_URL)" `
 | 
					 | 
					 | 
					 | 
					#       -Url "$(SLACK_CHANNEL_URL)" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      -ToolName "$(TOOL_NAME)" `
 | 
					 | 
					 | 
					 | 
					#       -ToolName "$(TOOL_NAME)" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      -ToolVersion "$(Get_versions.TOOL_VERSIONS)" `
 | 
					 | 
					 | 
					 | 
					#       -ToolVersion "$(Get_versions.TOOL_VERSIONS)" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      -PipelineUrl "$(PIPELINE_URL)" `
 | 
					 | 
					 | 
					 | 
					#       -PipelineUrl "$(PIPELINE_URL)" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      -ImageUrl "$(IMAGE_URL)"
 | 
					 | 
					 | 
					 | 
					#       -ImageUrl "$(IMAGE_URL)"
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
 
 |