I have a GitLab and Jenkins running on the same local machine .I am using community version of the GitLab. I have configured necessary GitLab plugins on the Jenkins and added GitLab API token as well but still I am getting authorization problem while accessing GitLab from Jenkins.
While searching for solution I read that only GitLab Enterprise version integration is possible with the Jenkins? Is it true?
I tried integration of Jenkins with the repository created on https://gitlab.com and it's working properly.
Can any one help me understand what causing the above mentioned problem?
Yes, you can integrate GitLab CE (community Edition) and Jenkins.
I am using the GitLab Hook Plugin
You must have a jenkins deploy key that is activated on the GitLab projects that Jenkins has to access.
Check if you have the same at https://yourgitlab/admin/deploy_keys
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.