sumitraj0103 / Letsdevops

This helps for the Code sharing
6 stars 60 forks source link

Incorrect setting in master-pipeline.yml #6

Closed terrenceferguson closed 1 month ago

terrenceferguson commented 1 month ago

I was following your tutorial from YouTube (great job by the way!), and I kept running into an issue not being able to access "BuildType" in my build template that was being pased down from the master-pipeline.yml. After investigation (and a lot of trial and error), I discovered that the initial parameter pass was wrong:

https://github.com/sumitraj0103/Letsdevops/blob/e694f3299df8ca561026b3f65173c7125bee6492/ADOYAML/yaml-template/master-pipeline.yml#L28

This should be:

${{ parameters.buildtype }}

I can do a PR to change it if you'd like, I just wanted to let you know since I'm sure lots of people are following your example like I did.

Thanks!

sumitraj0103 commented 1 month ago

I have modified it. Thanks for pointing out