skip to Main Content

I have few CI and CD pipelines in azure devOps project in which CI pipelines connect to github enterprise repository to fetch the code.
CI pipelines were invoked by the trigger whenever there is a change in main branch of repository.

This was working fine until our git repository instance was changed. All our git repositories are migrated to the new instance.

I have updated the service connection, to point to the new git instance and manually invoked CI pipelines and tested. It worked fine.

But the issue is now with automatic triggering of CI pipelines. It is not working now.
I tried remove and add git service connections and repository details inside CI pipeline and enabled trigger, but still it is not getting automatically invoked whenever there is a change in repository.

What could be the reason for this ? I already removed and added the git repository details in CI pipeline, still that does not work. Is there anything I missed out? Any leads appreciated!

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    Finally figured out the issue and fixed. It was error with web hook in the repository. Updated the webhook and it is working fine now.


  2. You can check the "Override the YAML trigger from here" setting for the types of trigger (Continuous integration or Pull request validation) available for your repo." in the Triggers UI.

    If it does not work, please create a new pipeline to check if it works.

    For more information, you could refer to: troubleshooting failing triggers

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search