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

 Parameterized Scheduler plugin does not work with several lines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins: 2.121.3
      Parameterized Scheduler: 0.6.2
    • Parameterized Scheduler 1.0

       The Parameterized Scheduler plugin only work for one set of parameter. In other word, I can only enter one line. The next lines are not used.
       

      Reproduction steps

      1. Create a task with one choice parameter "PARAM" (item1, item2, item3)
      2. Then define the following line in the Parameterized Scheduler Plugin:
        H/2 * * * * % PARAM=item2
        H/3 * * * * % PARAM=item3
        
      3. Save the job and wait for the builds
         

        Actual result 

      I get builds for 2 builds per minute for item2 . But don't get any builds for item3.
      But sometime vice versa so there might be a random line chosen here.
       

      Expected result

      I should get 2 build per minute for item2 and 3 build per minute for item3 as defined in the cron.

            raihaan Raihaan Shouhell
            julien_lang Julien Langlois
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: