![]() This is so that if you are building several projects on your build machine at the same time, let’s say midnight each day, they do not all start their build execution at the same time. ![]() It will calculate the parameter based on the hash code of you project name. The letter H, representing the word Hash can be inserted instead of any of the values. The H symbol can be thought of as a random value over a range, but it actually is a hash of the job name, not a random function, so that the value remains stable for any given project. In contrast, using H H * * * would still execute each job once a day, but not all at the same time, better using limited resources. To allow periodically scheduled tasks to produce even load on the system, the symbol H (for “hash”) should be used wherever possible.įor example, using 0 0 * * * for a dozen daily jobs will cause a large spike at midnight. If you want to schedule your build every day at 8h00, this will do the job : 0 8 * * *įor the past few versions (2014), Jenkins have a new parameter, H (extract from the Jenkins code documentation): If you want to schedule your build every 5 minutes, this will do the job : */5 * * * * ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |