Jenkins Git plugin included regions not working

For me it started working when checking "Force polling using workspace" under "Source-Code-Management - Additional Behaviours" in the job config. Smells like a bug - there are several open regarding the included/excluded regions feature of the git plugin.

EDIT: it stopped working after updating jenkins and the git plugin. The cause is probably:

https://issues.jenkins-ci.org/browse/JENKINS-20607

I am thinking of moving to this method here


I just had this problem, and the answer was slightly different than the other answers. That being said, the solution lay in the question itself. For me, I had paths in the "Included Regions" with the pattern:

service/Search/AbstractSearchServices/master/**/*

I changed the pattern to:

service/Search/AbstractSearchServices/master/.*

Once I changed to that pattern, it worked perfectly for me.

Tags:

Git

Jenkins