My requirement is I want to integrate my Bitbucket repo with the Azure DevOps CI server so that as soon as I push code in the bitbucket repo my pipeline should trigger in the Azure DevOps CI server for that I have created a webhook in the Bitbucket repo.
I have added the Azure DevOps CI server URL in the URL section and added secret in a secret section of the webhook of Bitbucket. the secret is personal access token generated in Azure DevOps Server. But while creating a webhook I am getting
Resource not available for anonymous access. Client authentication required. - Azure DevOps server
Even though I have added a secret why it is giving client authentication required error? what could be the reason?
P.S. - There is a scarcity of documentation for integration between Bitbucket repo and Azure DevOps CI server
Update : I have already enabled continuous integration on the triggers tab as suggested by Vito Liu-MSFT in the answer but still my pipeline is not getting triggered automatically when I push my code to feature/POC branch in bitbucket.
Yml file is as follows
resources:
repositories:
- repository: myRepo
type: externalgit
name: 'myRepo'
endpoint: myrepo
ref: feature/POC
trigger:
- feature/POC