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
Activity
Field | Original Value | New Value |
---|---|---|
Description |
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. |
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 | Git polling ignores do not work in Multibranch Pipeline job | Git path polling ignores do not work in Multibranch Pipeline job |
Description |
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. |
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 | Mark Waite [ markewaite ] |
Summary | Git path polling ignores do not work in Multibranch Pipeline job | Git path polling ignores do not work in Pipeline jobs |
Workflow | JNJira [ 173579 ] | JNJira + In-Review [ 185209 ] |
Link | This issue duplicates JENKINS-36195 [ JENKINS-36195 ] |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Duplicate [ 3 ] | |
Status | Resolved [ 5 ] | 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. ] |
Resolution | Duplicate [ 3 ] | |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Remote Link | This issue links to "CloudBees Internal OSS-1409 (Web Link)" [ 18707 ] |
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