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
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
CodePudding user response:
Try Build.RequestedForEmail