Reputation: 489
How to capture who ran the build pipeline in Azure DevOps as a variable?
Is there any predefined variable to capture that?
Upvotes: 1
Views: 1893
Reputation: 41775
From the docs:
Build.QueuedBy
- See "How are the identity variables set?".
Note: This value can contain whitespace or other invalid label characters. In these cases, the label format will fail.
Build.QueuedById
- See "How are the identity variables set?".
Upvotes: 2