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

Multiple cron entries for the same time result in all but one getting lost

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • OS: Windows Server 2012 R2, Java: 1.8.0_20, Jenkins ver. 2.73.3, Parameterized Trigger plugin 2.35.2,
      Parameterized Scheduler 0.5
    • Parameterized Scheduler 1.0

      When creating a schedule for the same job that consists of multiple simultaneous launches, only the first configuration entry will be executed, the rest skipped.

      Example configuration, running every four hours on Saturdays and Sundays:

      0 */4 * * 6-7 % environment=1
      0 */4 * * 6-7 % environment=2
      0 */4 * * 6-7 % environment=3

      This results in only one started build for environment 1, and envs 2 and 3 are left without jobs.

      Updating the configuration the following way offers a workaround:

      0 */4 * * 6-7 % environment=1
      5 */4 * * 6-7 % environment=2
      10 */4 * * 6-7 % environment=3

      But this should not be necessary.

      The usage of H is avoided to have the jobs fit in their allocated time slots: all builds take about three and a half hours, so if H was used, a test scheduled for the 00:00-04:00 time window could start at 00:50 and so wouldn't fit in the allocated time window.

          [JENKINS-49921] Multiple cron entries for the same time result in all but one getting lost

          I am also facing the same issue , any updates on this ?

          Dhruv Barochiya added a comment - I am also facing the same issue , any updates on this ?

          Ramzi Hossiey added a comment -

          facing the same issue too. any update about resolving this issue ? 

          Ramzi Hossiey added a comment - facing the same issue too. any update about resolving this issue ? 

          Adam Zovits added a comment -

          ramzih None yet, but you are welcome to vote on this issue, hopefully that will help prioritize it higher.

          Adam Zovits added a comment - ramzih None yet, but you are welcome to vote on this issue, hopefully that will help prioritize it higher.

          similar issue reported JENKINS-54235 

          Hariprasath Govindarajulu added a comment - similar issue reported JENKINS-54235  

          Should be fixed in the 1.0 release

          Raihaan Shouhell added a comment - Should be fixed in the 1.0 release

            raihaan Raihaan Shouhell
            zovitsadam Adam Zovits
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: