Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
Jenkins LTS 2.7.1
Ubuntu 12.04
Git Plugin 2.5.2
Pipeline Plugin 2.2
Description
Multibranch pipeline jobs seem to ignore git path polling rules when attempting to detect indexing changes and schedule builds.
More specifically:
- I am using a "Periodically if not otherwise run" build trigger
- I tested "Git polling ignores commits in certain paths" with the following:
1) Only including paths that I care about:
Included:
that-path-I-care-about/.*
Excluded:
(empty)
2) Including paths I care about and excluding a specific path:
Included:
that-path-I-care-about/.*
Excluded:
that-path-I-want-to-ignore/.*
3) Just using excluded paths:
Included:
(empty)
Excluded:
that-path-I-want-to-ignore/.*
None of them work as expected. Builds are triggered anytime a change is committed to the repo.
Attachments
Issue Links
- duplicates
-
JENKINS-36195 Pipeline polling ignores special polling rules
-
- Open
-
- links to
It is well known that you cannot use path exclusions when Git is configured to perform master-based polling, due to limitations in the Git network protocol. Would be solvable only by using a master repo cache the way the Mercurial plugin does, and in fact git already does for multibranch projects. I think this is already filed somewhere.
Polling exclusions are not currently supported for multibranch projects under any circumstances. That is probably also already filed somewhere.