Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Devops capture the user who triggered the pipeline `

Morning , I have a question , is their a way to capture who triggered the pipeline , it will happen automatically when some one commit in my master branch in GITHUB , in the devops GUI i see the below and I need to capture that userid so in case of any issue i will send an email

enter image description here

I tried using Build.QueuedBy, Build.QueuedById, Build.RequestedFor but for all i get some values like

this is Microsoft.VisualStudio.Services.TFS  variable for the username
this is 00000002-0000-8888-8000-000000000000  ID of the user

but I need to capture AMADURO so I can easily send email to [email protected] , any help appreciated , thanks

like image 672
Dilu Avatar asked Dec 10 '25 21:12

Dilu


1 Answers

Try Build.RequestedForEmail

See predefined variables

like image 158
Alex AIT Avatar answered Dec 13 '25 16:12

Alex AIT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!