I am trying to trigger an Azure Pipeline that exists in the repository "A" from the repository "B".
So any change that would happen in the repo "B" will trigger the pipeline in the repo "A".
You'll find the defintion of my pipeline below. I am printing the different variables for debugging purposes.
trigger: none
resources:
repositories:
- repository: B
type: git
name: TestProject/B
trigger:
branches:
include:
- main
pool:
vmImage: ubuntu-latest
steps:
- script: |
echo ${{ variables['Build.Reason'] }}
echo ${{ variables['resources.triggeringAlias'] }}
echo ${{ variables['resources.triggeringCategory'] }}
displayName: 'Run a multi-line script'
When I push a change into the repo "B", the pipeline gets triggered and starts running, but unfortunately the build reason is "IndividualCI" and not "ResourceTrigger" as mentionned in the documentation, so of course the resources.* variables are empty.
Am I doing something wrong here?
