jenkinsci / gitlab-branch-source-plugin

A Jenkins Plugin for GitLab Multibranch Pipeline jobs and Folder Organization
https://plugins.jenkins.io/gitlab-branch-source
MIT License
121 stars 87 forks source link

Give users/groups permission to scan Gitlab group #170

Open rcsilva83 opened 2 years ago

rcsilva83 commented 2 years ago

Dependencies

Feature Request

Sometimes the Gitlab webhook isn't sufficient to trigger the job creation. For example, the repository is created without a Jenkinsfile, so the job isn't created and no webhooks are configured to notify Jenkins when the Jenkinsfile is pushed (it wouldn't make any sense). So I want to give my users the power to force Scan when they need instead of reducing polling frequency. Ideally, I would be able to give this permission to certain user logins or groups.

TBBle commented 2 years ago

Per JENKINS-45514: Allow the ability to grant rights to the "Scan Multibranch Pipeline Now" link, that's already possible by giving users the Job/Build permission.

rcsilva83 commented 2 years ago

@TBBle , I believe JENKINS-45514 is about scanning source's repository for new branches. This issue is about scanning a Gitlab group for new repositories.

TBBle commented 2 years ago

Ah, sorry, I misunderstood.