Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65959

Add "Polling ignores commits from..." features to multibranch pipelines

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • git-plugin
    • Jenkins 2.293
      GitHub plugin 1.33.1

      Several git behaviours that are available in freestyle projects are unavailable in multibranch pipelines, despite being much needed (in my particular case, our team requires "Polling ignores commits in certain paths" in multibranch pipelines). This ticket is a request to bring the advanced polling configuration options to multibranch pipelines:

      1. Polling ignores commits from certain users
      2. Polling ignores commits in certain paths
      3. Polling ignores commits with certain messages

      Screenshots are attached showing the discrepancy between git behaviours in freestyle projects vs. multibranch pipelines.

          [JENKINS-65959] Add "Polling ignores commits from..." features to multibranch pipelines

          Mark Waite added a comment -

          Have you tried the https://plugins.jenkins.io/multibranch-build-strategy-extension/ with its ability to ignore specific regions? You might be able to extend it to support the other types of exclusions that you want. I don't plan to add that type of exclusion to the git plugin because it belongs in a strategy at a level above the git plugin.

          Mark Waite added a comment - Have you tried the https://plugins.jenkins.io/multibranch-build-strategy-extension/ with its ability to ignore specific regions? You might be able to extend it to support the other types of exclusions that you want. I don't plan to add that type of exclusion to the git plugin because it belongs in a strategy at a level above the git plugin.

          Julius added a comment -

          I see, thank you for that explanation Mark. I will look into that linked plugin

          Julius added a comment - I see, thank you for that explanation Mark. I will look into that linked plugin

          Mark Waite added a comment -

          Won't add these to the git plugin because they belong in other plugins

          Mark Waite added a comment - Won't add these to the git plugin because they belong in other plugins

            Unassigned Unassigned
            villama Julius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: