Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sachinrana135/10cb21085e8637db3cb4d3715ae7a126 to your computer and use it in GitHub Desktop.
Save sachinrana135/10cb21085e8637db3cb4d3715ae7a126 to your computer and use it in GitHub Desktop.
Powershell Task - Azure build change list notification on team's channel
- 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