I'm following pipeline resource triggers docs and I constructed my pipeline that looks like this.
15 resources:
16 pipelines:
17 - pipeline: buildPipeline
18 source: template-ci # azure devops pipeline name (defined in ADO UI!)
19 project: $(System.TeamProject) # azure devops project name
20 trigger:
21 branches:
22 include:
23 - main
Unfortunately, the above definition throws this error /devops/ct.yml (Line: 17, Col: 17): Pipeline Resource buildPipeline Input Must be Valid.
When I look at line 17 - pipeline: buildPipeline it looks perfectly fine what I'm doing wrong?