Interesting . . . it must be relatively new . . . I found it on one of my Jenkins that I update a lot (debug system), but not an older one (production) that we don't keep as current.
Thank you for the pointer. Frank From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, February 14, 2013 9:02 AM To: [email protected] Subject: RE: Periodic even build question In the Jenkins job configuration, under "build triggers" --> "build periodically", click on the help question-mark on the right (of "schedule"). It's all there, for me anyhow. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Merrow, Frank Sent: 14 February 2013 16:56 To: [email protected]<mailto:[email protected]> Subject: RE: Periodic even build question Where are you guys seeing docs for this "H Token" thing? Can you send a specific URL? (Google didn't find it for me and Jenkins "?" doesn't show it as an option.) Frank From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Mandeville, Rob Sent: Thursday, February 14, 2013 5:50 AM To: '[email protected]' Subject: RE: Periodic even build question If I read things correctly, the 'H' syntax gives you a pseudo-random start time (the same one for a given job), not an even one. If you only had one job to run, 'H/15 * * * *' would run it every fifteen minutes, but that could either be :00, :15, :30, :45 or :04, :19, :34, :49, or something like that. If you have a bunch of different jobs to schedule every fifteen minutes but don't want them to all kick off at the same time, then giving them all H/15 schedules would give each job a fifteen-minute schedule. On average, they'd scatter around that period for even loading, but you might get unlucky and have them all end up with the same schedule. If you really want to enforce even loading, maybe you want to use the same nodes for them all and just limit the number of executors on those nodes. If you have ten of these fifteen-minute jobs and only want one to run at a time, point them all to a one-galleon node. Even if they all kick off at once, they'll still only run one at a time. But they might not run in the same order all the time, so you could have five or twenty-five minutes between runs depending on the scheduler. If you really, really want to enforce even loading with every-fifteen-minute running times, I think you're going to have to go "longhand", decide which ones launch on which minute, and set them up by hand. I believe the cron entries would be like: */15 * * * * # :00, :15, :30, :45 1-59/15 * * * * # :01, :16, :31, :46 2-59/15 * * * * # :02, :17, :32, :47 etc. --Rob From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Octavian Covalschi Sent: Wednesday, February 13, 2013 5:06 PM To: [email protected]<mailto:[email protected]> Subject: Periodic even build question Hello, I'm trying to setup periodic builds for a few dozens of jobs, but in the same time I'd like to even the load... so for example, I need to run them at every 15min, but would like to even the load... is it possible? I saw the 'H' token, but I'm not sure If it can help me... The closest valid syntax I was able to put together is: H(0-14),H(15-29),H(30-44),H(45-59) * * * * But, I don't thinks it's what I need, since the 1st H may trigger it at min 13 and 2nd H may trigger it at min 16, so I'll get 3 min interval, but I need ~15 Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
