Status: Closed (View Workflow)
Resolution: Won't Fix
Excluded users are ignored when a webhook is fired from GitLab, e.g. to:
This is the jenkins git config that works:
with this config for gitlab hook:
The build-job commited the new versions and the gitlab webhook is fired:
When the behavior 'Polling ignores commits from certain users' configured, the jenkins-job triggered:
I tried many usernames, but nothing works.
If you use a github.com public repository or a locally hosted git repository, do you see the same behavior?
If you install the "Poll Now" plugin and click the "Poll Now" link, do you see the same behavior?
I use and test it with my local GitLab Server and a GitHub Repo.
When i POST/Execute the polling manual with
i see the same behavior.
This is actually an issue with gitlab-hook design. It searchs for projects with matching repository url, and apart for the branch and refspec checks, no other configuration item from git-plugin is considered. Neither ignored users, nor ignored paths nor anything else.
The reason behind is that is implemented on ruby, and there is no actual triggers on jruby-jenkins, so the plugin is actually a jenkins RootAction. I've done some steps toward it, but it's not yet ready, so this will take some time to get fixed.
Reopened in response to https://github.com/jenkinsci/gitlab-hook-plugin/pull/27/files
Can you provide more description of the conditions required to show the problem, the details of what you observe, and what you expect to observe instead? The description portion seems to contradict the summary of the bug or enhancement request. I don't understand which you want.
Please refer to how to report an issue for the types of details which are needed.