I am trying to use Predefined Build Variables in my Release Pipeline with CI Trigger enabled. My release pipeline has multiple Artifacts coming in from Multiple separate Build Pipelines.
When I use the variable $(Build.BuildNumber), it targets the variable to a specific artifact all the time. I would really like it to use the one from the Build Pipeline that is triggering the deployment. But if that is not possible, can I at least specify which Artifact-set it should use the Build variables from?