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

 Parameterized Scheduler plugin does not work with several lines

    XMLWordPrintable

Details

    • Parameterized Scheduler 1.0

    Description

       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.

      Attachments

        Issue Links

          Activity

            Any updates on this..? I am also facing the same issue 

            dhruv34788 Dhruv Barochiya added a comment - Any updates on this..? I am also facing the same issue 

            I am the maintainer, but a bit busy on various matters these days, so I would welcome a PR to fix this. Happy to review. Thanks!

            batmat Baptiste Mathus added a comment - I am the maintainer, but a bit busy on various matters these days, so I would welcome a PR to fix this. Happy to review. Thanks!

            Fixed in 1.0

            raihaan Raihaan Shouhell added a comment - Fixed in 1.0

            People

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

              Dates

                Created:
                Updated:
                Resolved: