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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 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

      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?
       

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

              Created:
              Updated:
              Resolved: