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

"Polling ignores commits in certain paths" is missing under "Behaviours" on Git Source

      In Jenkins pipeline configuration, there are some behaviors missing under "Behaviours" on "Git" source (Eg: Build Initiation Extensions).

      According to this documentation, expecting to utilize "Polling ignores commits in certain paths" in the project. But blocked with missing behaviors under configuration as mentioned above. Used Git Plugin version is 5.0.2 .

      Could anyone please guide to understand why such behaviors are not exposed in pipeline configuration?

      Attached screenshots for better understanding...

          [JENKINS-72245] "Polling ignores commits in certain paths" is missing under "Behaviours" on Git Source

          Rupeekshan created issue -
          Rupeekshan made changes -
          Description Original: h4. {color:#172b4d}In Jenkins pipeline configuration, there are some behaviors missing under "{*}Behaviours{*}" on "{*}Git{*}" source (Eg: Build Initiation Extensions). {color}

          {color:#172b4d}According to [documentation|[https://plugins.jenkins.io/git/#plugin-content-build-initiation-extensions],] expecting to utilize "{*}Polling ignores commits in certain paths{*}" in the project. But blocked with missing behaviors under configuration as mentioned above. Used *Git Plugin* version is 5.0.2 .{color}

          {color:#172b4d}Could anyone please guide to understand why such behaviors are not exposed in pipeline configuration?{color}
          h4. {color:#172b4d}Attached screenshots for better understanding...{color}
          New: h4. {color:#172b4d}In Jenkins pipeline configuration, there are some behaviors missing under "Behaviours" on "Git" source (Eg: Build Initiation Extensions). {color}

          {color:#172b4d}According to this [documentation|#plugin-content-build-initiation-extensions],], expecting to utilize "{*}Polling ignores commits in certain paths{*}" in the project. But blocked with missing behaviors under configuration as mentioned above. Used *Git Plugin* version is 5.0.2 .{color}

          {color:#172b4d}Could anyone please guide to understand why such behaviors are not exposed in pipeline configuration?{color}
          h4. {color:#172b4d}Attached screenshots for better understanding...{color}
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Mark Waite made changes -
          Description Original: h4. {color:#172b4d}In Jenkins pipeline configuration, there are some behaviors missing under "Behaviours" on "Git" source (Eg: Build Initiation Extensions). {color}

          {color:#172b4d}According to this [documentation|#plugin-content-build-initiation-extensions],], expecting to utilize "{*}Polling ignores commits in certain paths{*}" in the project. But blocked with missing behaviors under configuration as mentioned above. Used *Git Plugin* version is 5.0.2 .{color}

          {color:#172b4d}Could anyone please guide to understand why such behaviors are not exposed in pipeline configuration?{color}
          h4. {color:#172b4d}Attached screenshots for better understanding...{color}
          New: h4. {color:#172b4d}In Jenkins pipeline configuration, there are some behaviors missing under "Behaviours" on "Git" source (Eg: Build Initiation Extensions). {color}

          {color:#172b4d}According to this [documentation|https://plugins.jenkins.io/git/#plugin-content-polling-ignores-commits-in-certain-paths], expecting to utilize "{*}Polling ignores commits in certain paths{*}" in the project. But blocked with missing behaviors under configuration as mentioned above. Used *Git Plugin* version is 5.0.2 .{color}

          {color:#172b4d}Could anyone please guide to understand why such behaviors are not exposed in pipeline configuration?{color}
          h4. {color:#172b4d}Attached screenshots for better understanding...{color}

          Mark Waite added a comment - - edited

          The image in the documentation shows that the job is named "git-freestyle". That job name is intentional as a way of showing that is what is being illustrated in that section of the documentation. I'll need to improve the documentation to make it clear in the text that the option is not available for Pipeline jobs.

          Pipeline provides more general purpose ways to ignore commits on certain paths. A stackoverflow article provides one technique with the changeset directive.

          Mark Waite added a comment - - edited The image in the documentation shows that the job is named "git-freestyle". That job name is intentional as a way of showing that is what is being illustrated in that section of the documentation. I'll need to improve the documentation to make it clear in the text that the option is not available for Pipeline jobs. Pipeline provides more general purpose ways to ignore commits on certain paths. A stackoverflow article provides one technique with the changeset directive.
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-72246 [ JENKINS-72246 ]

          Mark Waite added a comment -

          This won't be implemented in Pipelines because there is already a better way to do this in Pipeline

          Mark Waite added a comment - This won't be implemented in Pipelines because there is already a better way to do this in Pipeline
          Mark Waite made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            rupee Rupeekshan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: