vnext build: How to get the label name?


  • Hello,

    we currently use xaml templates for our builds, but are thinking about migrating to vnext build.
    Our build is done by msbuild scripts, so basically the xaml template only calls the msbuild script.

    We do checkout/modify/checkin some files during our build and the script then puts the build label on the file.
    Is there any way to get the label name?

    We modified TfvcTemplate.12.xaml and passed "BuildDetail.LabelName" to msbuild to achieve this with xaml builds.
    But how to do this in vnext build?

    Best Regards
    Bernd Ritter

    Dienstag, 3. Mai 2016 06:59