- Nothing can beat experience

Why and How to use IBuildDetails and BuildDefinition?

Hi, In this episode I will talk about why and how to use IBuildDetails and buildDefinition object to get valuable information thought the build, this very important because IBuildDetails give you all information you need to know about the running build. You can go to my episode 1 and download the process that I will use click-here

Part 1 BuildNumber

  • First you will create a clean Template and start following the image with order number, this will get the buildDetails object and assign it to my variable so you can use it throughout the build process

FirstStep You can download my process template from the episode 1 as I mention before

  • Right click on WriteBuildMessage task and choose properties and change BuildMessageImportance.High and give the message BuildDetail.BuildNumber

fourth Just queue a new build and open click on view log and you will see it log your build number


Part 2 BuildDefinition

How to get information from the buildDefinition

  • When you create a new build definition you set the drop location


  • Now you can message the drop location as the following


  • Build and click on view log


  • You can also use the full path as the following


  • Build and see view log


  • You can see what the build definition hold


That’s it

Trending Tags