What is the preferred way to Integrate both Jenkins and GitLab? What is the best way to do it?
GitLab has deploy keys. I have created deploy keys for all 30 Jenkins build agents. I have added these deploy keys to each project. We only got 8 projects migrated from Gitolite at the moment. Adding all the deploy keys to 400+ projects is not a good way. The GitLab Jenkins Integration documentation mentions creating a Jenkins user in GitLab. https://docs.gitlab.com/ee/integration/jenkins.html Then that user could be added to each groups as Guest or Reporter. Since we use GitLab Enterprise Edition, such a user would count towards the license. With Gitolite we have configured to call the following URL for each repository on git push https://jenkins.company.com:8443/git/notifyCommit?url=ssh://[email protected]/group/project.git I could manually create Webhooks in GitLab for each project triggering this URL, but that would a big feat, considering we have about 400+ repositories. I have installed in Jenkins LTS. 2.263.1 these plugins: GitLab (*This plugin is not maintained)* GitLab Branch Source In GitLab Project Settings > Integration Settings > Jenkins CI Is there a better way to integrate Jenkins with GitLab, considering this plugin is no longer being maintained. I would think the best way is to use the GitLab Branch Source plugin. Adding a GitLab group, then all projects in that group will be added to Jenkins. In theory (I have not tried it). -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f973268d-c6c6-4d4b-ba66-3b5b2f331b2cn%40googlegroups.com.
