[JIRA] (JENKINS-22457) Git push will trigger a build even though no path matches included regions

2 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 25, 2019, 8:34:08 AM2/25/19
to jenkinsc...@googlegroups.com
Mark Waite updated Bug JENKINS-22457
 
Jenkins / Bug JENKINS-22457
Git push will trigger a build even though no path matches included regions
Change By: Mark Waite
Status: Reopened Open
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

nicolas.deloof@gmail.com (JIRA)

unread,
Apr 24, 2019, 10:23:05 AM4/24/19
to jenkinsc...@googlegroups.com

kanthak@freenet.de (JIRA)

unread,
Aug 1, 2019, 7:43:03 AM8/1/19
to jenkinsc...@googlegroups.com
Christian Kanthak commented on Bug JENKINS-22457
 
Re: Git push will trigger a build even though no path matches included regions

Just a note for others visiting this page because they have problems with 'included-regions' as I had:

I also had trouble with path pattern 'scripts/.' which was not working as 'included-region'. The reason was that I did enable the *'shallow clone' option in git scm settings. When the option 'shallow clone' was disabled the 'included-region' parameter worked as expected.

Thanks to Mark Waite for sharing the Jenkins job config.xml which helped me to detect differences with job.

kanthak@freenet.de (JIRA)

unread,
Aug 1, 2019, 7:44:03 AM8/1/19
to jenkinsc...@googlegroups.com
Christian Kanthak edited a comment on Bug JENKINS-22457
Just a note for others visiting this page because they have problems with 'included-regions' as I had:

I also had trouble with path pattern 'scripts/.*' which was not working as 'included-region'. The reason was that I did enable the *'shallow clone'* option in git scm settings. When the option *'shallow clone'* was *disabled* the 'included-region' parameter worked as expected.

Thanks to [~markewaite] for sharing the Jenkins job config.xml which helped me to detect differences with
my job.
Reply all
Reply to author
Forward
0 new messages