Get AzureDevOps Build and Release Name and Number into the Build

Copper Contributor

Hello

 

When we deploy we would need to insert into the deployment build the azuredevops build and release name and number. We work with Visual Studio 2019, is there a way to capture this information from code?

 

Thank you

3 Replies
Yes we're using pipelines in ADO. Thank you @tandrianos , I'll try the proposed approach 🙂
Awesome. Let me know if you are able to get it to work @Bytewolf !