I have added a pipeline source using my repository as per the steps mentioned in the developer doc.
But, the sync is stuck in processing since an hour, it only shows Sync in Progress.. in the logs.
Few things you can check here:
The token you have created has enough permissions on the repository which you are trying to add as a source. Make sure the token you have created has following permissions:
SCM | Permissions |
---|---|
Github | repo (all); admin:repo_hook (read, write); admin:public_key (read, write) |
Bitbucket | Account: Read; Pull requests: Read; Workspace membership: Read; Projects: Read; Repositories: Admin; Webhooks: Read and Write |
BitbucketServer | Admin permission for repositories |
Gitlab | token needs to granted these scopes at minimum: api, write_repository |
Even after ensuring the above it doesn't work, then do validate the yml using yml validator
in UI and check if its a valid yml. Please refer Pipelines Validating Yml