Jenkins - one Git repository has several logical projects.
I'm doing migration CI/CD from TeamCity + SVN to Jenkins + Git (GitLab). But, the one Git repository includes five logical projects (in the diferent folders and sub-folders). To make a five of Git repository is bad way for me.
In the Jenkins I have made a five Jobs (one for the each logical project, I have tried variants with Pipeline and FreeStyle). The param "polling ignores commits in certain paths" is turned on (and selected folders of the logical project) for the each Job.
When I use the webhook (the GitLab is configured of the webhooks for the each Job and the param "Build when a change is pushed to GitLab. GitLab webhook" is enabled in the Jenkins) then all Jobs are start to build when "git push" is executed on any repository file. But, if Job has disabled the param "Build when a change is pushed to GitLab. GitLab webhook", then Job doesn't respond to "git push" of any file in the repository (including its own, which is selected in "polling ignores commits in certain paths").
Tell me, please, how to overcome this situation, and make every Job works only when made "git push" in the folders that are assigned to in the "polling ignores commits in certain paths"?