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.

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