jwmach1 / parameterized-scheduler

A Jenkins Plugin to support setting parameters in the build schedule
MIT License
15 stars 52 forks source link

Not been able to set more than 2 lines at scheduler #7

Open Icaroto opened 6 years ago

Icaroto commented 6 years ago

So, here's what Im trying to do:

H/2 % PRODSYS=TEST;PRODENV=TEST H/2 % PRODSYS=TEST1;PRODENV=TEST1 H/2 % PRODSYS=TEST2;PRODENV=TEST2 H/2 % PRODSYS=TEST3;PRODENV=TEST3 H/2 % PRODSYS=TEST4;PRODENV=TEST4

For some weird reason, only line 1 and 3 runs in jenkins. Is there something missing or is a limitation from the plugin or my jenkins instance?

Thanks!

WixoLeo commented 4 years ago

Same problem here, I think it got something to do with having same cron values. I tried

* * * * * # NAME=Bob
* * * * * # NAME=Leo

And it only build the first one, "Bob" but if I do it like this:

* * * * * # NAME=Bob
*/2 * * * * # NAME=Leo

Then that works. So having a variation in your cron helps, but still I think it's an issue.

jwmach1 commented 4 years ago

reminder: as mentioned in the readme, this fork is the up to date version, and is the version registered in the jenkins plugin registry. https://github.com/jenkinsci/parameterized-scheduler-plugin