code_repo
Q1: Common causes of error associated with GitLab code base
Use Personal Access Tokens instead of project tokens.
Make sure that Access_Tokens are given permissions when they are generated. The corresponding API permissions must be included.
If it is self-built GitLab, please confirm whether API of "repository/branches" is available.
https://docs.gitlab.com/ee/api/branches.html
If GitLab is accessed using https. Check whether http - >https is performed in the code base. BKCI defaults to http for code base access.
If no skip is performed, please click this temporary solution to modify the BKCI file:
Restart bk-ci-repository.service
SSH association times are incorrect
SSH BKCI of this version cannot be resolved. If this error occurs, you are advised to use HTTP for association.
Q2: Failed to associate the GitHub codebase
There are still some issues with BKCI's connection to GItHub. If you must use the GitHub codebase, follow this method. How do I associate the GitHub codebase
Last updated