In Azure Pipelines I have a pipeline (lets call it Car) which consumes a product of another pipeline (lets call it Wheel)
In Car I need a build task that goes: -Find the "latest" run of Wheel -Get it's $(Build.BuildNumber) -Assign that to an environment variable in Car