jwmach1 / parameterized-scheduler

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

Can parameterized schedular be used to trigger multiple cron job in a single pipeline? #14

Open unvaare opened 4 years ago

unvaare commented 4 years ago

Hi, Thanks for the awesome plugin, it works fine for a single cron job, but i need multiple instances of it for different agent from same pipeline.

It seems like it doesn't work with multiple cron jobs each in a separate line?

Thanks in advance for the help

jwmach1 commented 4 years ago

I thought the main fork had that solved. https://github.com/jenkinsci/parameterized-scheduler-plugin. Did you install that one?

ovcharenko-di commented 2 years ago

@jwmach1 with my cron listed below only first job is triggered. any thoughts why the second job is ignored?

Parameterized Scheduler v1.0

#ERP_Test_Service
H 1 * * * %INFOBASE=ERP_Test_Service#srv-testk-erp02#srv-testk-sql02;CHAT=-55555;CR=tcp://repo/ERP_Dev_Service

#ERP_Test
H 1 * * * %INFOBASE=ERP_Test#srv-testk-erp02#srv-testk-sql02;CHAT=-33333;CR=tcp://repo/ERP_Master