Last active
January 5, 2022 06:09
-
-
Save sachinrana135/10cb21085e8637db3cb4d3715ae7a126 to your computer and use it in GitHub Desktop.
Powershell Task - Azure build change list notification on team's channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- task: PowerShell@2 | |
displayName: 'Notification for build change list' | |
env: | |
SYSTEM_ACCESSTOKEN: $(System.AccessToken) | |
inputs: | |
targetType: 'filePath' | |
filePath: '$(Build.SourcesDirectory)/{PATH_TO_YOUR_POWERSHELL_SCRIPT_FILE}' | |
arguments: '-webhook_url $({WEBHOOK_URL})' | |
errorActionPreference: SilentlyContinue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment