Skip to content

Instantly share code, notes, and snippets.

View wyrdfish's full-sized avatar

David Watson wyrdfish

View GitHub Profile
@wyrdfish
wyrdfish / manual-approval-details.yml
Last active June 16, 2023 17:20
azure devops powershell task to read manual approval status.
- task: PowerShell@2
name: details
displayName: Get Approval Details
inputs:
targetType: 'inline'
script: |
$Collection="$(System.CollectionUri)"
$projectName="$(System.TeamProject)"
$projectId="$(System.TeamProjectId)"
$buildId="$(Build.BuildId)" # - run id not pipeline definition