Forum Discussion

petni330's avatar
petni330
Copper Contributor
Oct 09, 2023

Trigger pipeline from repo in another org and project

Hello community, I am in need of some help with Azure Pipelines.

 

I need to trigger a pipeline from a repository in another project and org. For this I am using a PAT with full access to the source repo and setting up a service connection in the project where the pipeline is to run. I can see both self and the remote repo as sources for the pipeline and when triggered manually the pipeline correctly checks out the remote repo. However, the issues I am having is that it does not trigger on commits to the remote repo.

 

Here is how the pipeline is configured:

 

trigger:
- main

resources:
  repositories:
  - repository: PrismaTeamRepo # In a different organization
    endpoint: PrismaServiceDefenderRepoTest
    type: git
    name: defender-upgrades/defender-upgrades-sample
    ref: main
    trigger:
      branches:
        include:
          - main
      paths:
        include:
          - customer1

 

What could the issue be?

No RepliesBe the first to reply

Resources