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

Periodically if not otherwise run - interval value does not trigger branch indexing as expected

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • Jenkins v2.19.4, pipeline 2.4, Multibranch 2.9.2
      Windows, Linux and Docker Jenkins Container from hub

      Create a multibranch pipeline project, check "Periodically if not otherwise run",
      Set to 5 minutes - it's run every 12 minutes
      Set to 1 minute - it's run every 2 minutes
      Set to 2 minutes - it's run every 3 minutes,
      Set to 10 minutes - seems to be 12 minutes.

      Possibly other settings have similar issues, but I have not tested them.

      Sample pipeline code https://github.com/kpakur/piepline-triggers
      Also a test script there that does commit and push every 30 seconds to simulate traffic on the repo so the changes should be picked up.

          [JENKINS-40535] Periodically if not otherwise run - interval value does not trigger branch indexing as expected

          Kamil P created issue -
          Kamil P made changes -
          Link New: This issue is related to JENKINS-33006 [ JENKINS-33006 ]
          Kamil P made changes -
          Description Original: Create a multibranch pipeline project, check "Periodically if not otherwise run",
          Set to 5 minutes - it's run every 12 minutes
          Set to 1 minute - it's run every 2 minutes
          Set to 2 minutes - it's run every 3 minutes,

          Possibly other settings have similar issues, but I have not tested them.

          Sample pipeline code https://github.com/kpakur/piepline-triggers
          Also a test script there that does commit and push every 30 seconds to simulate traffic on the repo so the changes should be picked up.
          New: Create a multibranch pipeline project, check "Periodically if not otherwise run",
          Set to 5 minutes - it's run every 12 minutes
          Set to 1 minute - it's run every 2 minutes
          Set to 2 minutes - it's run every 3 minutes,
          Set to 10 minutes - seems to be 12 minutes.

          Possibly other settings have similar issues, but I have not tested them.

          Sample pipeline code https://github.com/kpakur/piepline-triggers
          Also a test script there that does commit and push every 30 seconds to simulate traffic on the repo so the changes should be picked up.
          Matthew DeTullio made changes -
          Component/s New: pipeline [ 21692 ]
          Component/s New: workflow-multibranch-plugin [ 21465 ]
          Component/s Original: multi-branch-project-plugin [ 21127 ]
          Matthew DeTullio made changes -
          Assignee Original: Matthew DeTullio [ mjdetullio ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2181 (Web Link)" [ 18395 ]

            Unassigned Unassigned
            kampak1111 Kamil P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: