parameterized-scheduler icon indicating copy to clipboard operation
parameterized-scheduler copied to clipboard

Not been able to set more than 2 lines at scheduler

Open Icaroto opened this issue 7 years ago • 2 comments

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!

Icaroto avatar Jan 18 '18 12:01 Icaroto

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.

WixoLeo avatar May 20 '20 13:05 WixoLeo

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

jwmach1 avatar May 20 '20 21:05 jwmach1