huserben / TfsExtensions

Extensions for TFS 2015+ such as custom Widgets (require TFS 2017) and Build Tasks
MIT License
44 stars 22 forks source link

No option to Carry Build Number from previous Build to the triggered build #215

Closed amitdnets closed 1 year ago

amitdnets commented 2 years ago

No option to Carry Build Number from previous Build to the triggered build. Can you please suggest who this can be done.

I have tried a way to declare a variable in the section "Define additional template parameters for the build" as the following:

followed_build_number: $(build.buildnumber)

But in the triggered build how can I retrieve the value of this variable followed_build_number.

huserben commented 2 years ago

Hi @amitdnets

If you want to pass a variable/template parameter to another build, you must specify it in the triggered build and then pass it. You can check https://github.com/huserben/TfsExtensions/issues/182 for a similar case and description on how it got solved.

Please let me know if you managed or need additional support

huserben commented 1 year ago

@amitdnets

Any updates on this from your side?