diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eb30bb239..b491460d2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -716,3 +716,25 @@ stages: codeCoverageTool: 'cobertura' summaryFileLocation: './CoverageResults/combined/Cobertura.xml' reportDirectory: './CoverageResults/combined/' + + - stage: Report_Out + dependsOn: + - Analyze + - Unit_Test + - Integration + - Automation + condition: always() + displayName: Build Status Report + jobs: + - job: + displayName: Discord Notification + pool: + vmImage: 'ubuntu-18.04' + steps: + - 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)