In Azure DevOps pipelines, the variable 'Build.TriggeredBy.BuildId' is not predefined,…
- User
In Azure DevOps pipelines, the variable 'Build.TriggeredBy.BuildId' is not predefined, even though the build was triggered by specifying another pipeline as resource
Assistant
Let me help you understand this scenario in Azure DevOps pipelines.
When you set up a pipeline to be triggered by another pipeline as a resource, you might expect the
Build.TriggeredBy.BuildIdvariable to be automatically populated, but this is not always the case. Here are some key points and potential solutions:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.