From 9aa4b103b6415e244c0e5de73177951a6392df3b Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 27 Dec 2020 18:23:45 -0500 Subject: [PATCH] Enable Build Status --- azure-pipelines.yml | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 75f493dfc..8b2f38b25 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -794,32 +794,32 @@ stages: summaryFileLocation: './CoverageResults/combined/Cobertura.xml' reportDirectory: './CoverageResults/combined/' -# - stage: Report_Out -# dependsOn: -# - Analyze -# - Unit_Test -# - Integration -# - Automation -# condition: eq(variables['system.pullrequest.isfork'], false) -# displayName: Build Status Report -# jobs: -# - job: -# displayName: Discord Notification -# pool: -# vmImage: 'windows-2019' -# steps: -# - task: DownloadPipelineArtifact@2 -# continueOnError: true -# displayName: Download Screenshot Artifact -# inputs: -# buildType: 'current' -# artifactName: 'WindowsAutomationScreenshots' -# targetPath: $(Build.SourcesDirectory) -# - checkout: none -# - powershell: | -# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Servarr/AzureDiscordNotify/master/DiscordNotify.ps1')) -# env: -# SYSTEM_ACCESSTOKEN: $(System.AccessToken) -# DISCORDCHANNELID: $(discordChannelId) -# DISCORDWEBHOOKKEY: $(discordWebhookKey) + - stage: Report_Out + dependsOn: + - Analyze + - Unit_Test + - Integration + - Automation + condition: eq(variables['system.pullrequest.isfork'], false) + displayName: Build Status Report + jobs: + - job: + displayName: Discord Notification + pool: + vmImage: 'windows-2019' + steps: + - task: DownloadPipelineArtifact@2 + continueOnError: true + displayName: Download Screenshot Artifact + inputs: + buildType: 'current' + artifactName: 'WindowsAutomationScreenshots' + targetPath: $(Build.SourcesDirectory) + - checkout: none + - powershell: | + iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Servarr/AzureDiscordNotify/master/DiscordNotify.ps1')) + env: + SYSTEM_ACCESSTOKEN: $(System.AccessToken) + DISCORDCHANNELID: $(discordChannelId) + DISCORDWEBHOOKKEY: $(discordWebhookKey)