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

UX Issue with Polling in Multibranch Pipeline

      There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation.

      For now we should disable the trigger in properties step of a multibranch pipeline.

      The recommendation for users not using webhooks would be to configure the "Periodically if not otherwise run" but this will add more api calls.

          [JENKINS-41074] UX Issue with Polling in Multibranch Pipeline

          Patrick Wolf created issue -
          Patrick Wolf made changes -
          Link New: This issue is related to JENKINS-40722 [ JENKINS-40722 ]
          Patrick Wolf made changes -
          Description Original: SCM Polling should not be enabled in Multibranch Pipeline.

          There is general confusing about how polling behaves in multibranch pipeline.
          New: There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation.

          For now we should disable the trigger in {{properties}} step of a multibranch pipeline.

          Jesse Glick added a comment -

          As a step towards JENKINS-32018, we could rather permit SCMTrigger but amend WorkflowJob.poll to ignore polling on any SCM which came from a branch project (i.e., scm argument to checkout rather than something else).

          Jesse Glick added a comment - As a step towards JENKINS-32018 , we could rather permit SCMTrigger but amend WorkflowJob.poll to ignore polling on any SCM which came from a branch project (i.e., scm argument to checkout rather than something else).
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-32018 [ JENKINS-32018 ]
          Patrick Wolf made changes -
          Description Original: There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation.

          For now we should disable the trigger in {{properties}} step of a multibranch pipeline.
          New: There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation.

          For now we should disable the trigger in {{properties}} step of a multibranch pipeline.

          The recommendation for users not using webhooks would be to configure the "Periodically if not otherwise run" but this will add more api calls.
          Patrick Wolf made changes -
          Link New: This issue is related to JENKINS-41072 [ JENKINS-41072 ]
          Patrick Wolf made changes -
          Link New: This issue is related to JENKINS-41146 [ JENKINS-41146 ]

          Patrick Wolf added a comment -

          Disabling polling from properties means that it cannot be used in job configuration if any other properties are set. https://issues.jenkins-ci.org/browse/JENKINS-41146

          Patrick Wolf added a comment - Disabling polling from properties means that it cannot be used in job configuration if any other properties are set. https://issues.jenkins-ci.org/browse/JENKINS-41146

          Jesse Glick added a comment -

          Note that TimerTrigger (cron symbol) is occasionally desirable and unproblematic. For example, someone wants their master branch built every night, even if there are no recorded commits.

          Jesse Glick added a comment - Note that TimerTrigger ( cron symbol) is occasionally desirable and unproblematic. For example, someone wants their master branch built every night, even if there are no recorded commits.

            Unassigned Unassigned
            hrmpw Patrick Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: