Forum Discussion
Bytewolf
Feb 27, 2024Copper Contributor
Get AzureDevOps Build and Release Name and Number into the Build
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
- tandrianosCopper Contributor
You should be able to define variables to capture your build name, build number and release name. Are you using pipelines in ADO?
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/run-number?view=azure-devops&tabs=yaml- BytewolfCopper ContributorYes we're using pipelines in ADO. Thank you tandrianos , I'll try the proposed approach 🙂
- tandrianosCopper ContributorAwesome. Let me know if you are able to get it to work Bytewolf !