-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins LTS 2.7.1
Ubuntu 12.04
Git Plugin 2.5.2
Pipeline Plugin 2.2
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.
- duplicates
-
JENKINS-36195 Pipeline polling ignores special polling rules
-
- Open
-
- links to
[JENKINS-36836] Git path polling ignores do not work in Pipeline jobs
Description |
Original:
Multibranch pipeline jobs seem to ignore git polling rules when attempting to detect indexing changes and scheduling 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. |
New:
Multibranch pipeline jobs seem to ignore git 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. |
Summary | Original: Git polling ignores do not work in Multibranch Pipeline job | New: Git path polling ignores do not work in Multibranch Pipeline job |
Description |
Original:
Multibranch pipeline jobs seem to ignore git 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. |
New:
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. |
Assignee | Original: Mark Waite [ markewaite ] |
Summary | Original: Git path polling ignores do not work in Multibranch Pipeline job | New: Git path polling ignores do not work in Pipeline jobs |
Workflow | Original: JNJira [ 173579 ] | New: JNJira + In-Review [ 185209 ] |
Link | New: This issue duplicates JENKINS-36195 [ JENKINS-36195 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Seeing this as well on a normal pipeline job, so I don't believe it is specific to multibranch ones. Perhaps the issue has something to do with the way workspaces are handled for Pipeline jobs? I posted about it here: https://groups.google.com/forum/#!msg/jenkinsci-users/wNIMGhJ76rA/HddRoHW-CAAJ