-
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 ] |
Resolution | Original: Duplicate [ 3 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Comment | [ Maybe this bug is connected with file https://github.com/jenkinsci/workflow-job-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowJob.java: line 547 method @Override public PollingResult poll(TaskListener listener). I didn't find any git extensions and checks that should ignore commits. ] |