The 'PushBuildAction' does not trigger updates for projects created with 'GitLab Branch Source' plugin.
In the Jenkins logs you could only find a trace of the webhook POST sent by the GitLab Jenkins integration, but no further trace of anything and no build was scheduled.
This is because the actual SCMSource implementation in 'GitLab Branch Source' does not inherit from 'GITScmSource'.
Using 'AbstractGitSCMSource' instead of 'GitSCMSource' fixes that.
Testing done
In GitLab: create a project with the Jenkins integration switched on
In Jenkins: create a GitLab Branch Source project with disabled automatic webhook handling
commit a change into GitLab
In Jenkins: the log also now shows this trace 'Notify scmSourceOwner xxx_project_xxx about changes for xxx_repo_xxx' and a 'GitLab Branch Source' repository scan is initiated
The 'PushBuildAction' does not trigger updates for projects created with 'GitLab Branch Source' plugin.
In the Jenkins logs you could only find a trace of the webhook POST sent by the GitLab Jenkins integration, but no further trace of anything and no build was scheduled.
This is because the actual SCMSource implementation in 'GitLab Branch Source' does not inherit from 'GITScmSource'.
Using 'AbstractGitSCMSource' instead of 'GitSCMSource' fixes that.
Testing done