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

Parameterized Scheduler does not run with duplicate random start times with different parameters

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • Jenkins: 2.176.2

      OS: Linux 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 16 14:19:51 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux

      Parameterized Scheduler: 0.6.3
    • Parameterized Scheduler 1.0

    Description

      The following parameterizedCron (entry far below) only runs the first item in the list.

      Expected result is two randomised job runs each with its own parameter value.

      i.e.

      Run job with param 1 anytime between 7:10-7:30am 

      Run job again with param 2 anytime between 7:10-7:30am 

      Example parameterizedCron

       
              parameterizedCron('''
              H(10-30) 7   * % DevOpsEnv=nonprod_vpc
              H(10-30) 7   * % DevOpsEnv=prod_vpc
              ''')
       
      Seems H(10-30) entry is treated as a duplicate and ignored?
       

      Attachments

        Activity

          Hi,

          I have a similar requirement and face the same issue. Any updates or workaround on this?

          Thanks,

          Hari

          hariprasath Hariprasath Govindarajulu added a comment - Hi, I have a similar requirement and face the same issue. Any updates or workaround on this? Thanks, Hari

          This should be fixed with the 1.0 release

          raihaan Raihaan Shouhell added a comment - This should be fixed with the 1.0 release

          People

            raihaan Raihaan Shouhell
            jim_zarakis Jim Zarakis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: