Search code examples
azureazure-devopsazure-pipelinesazure-devops-server-2019

Azure CI pipeline trigger not working after git instance migration


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


Solution

  • 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.