[JIRA] (JENKINS-49921) Multiple cron entries for the same time result in all but one getting lost

2 views
Skip to first unread message

adam.zovits@thalesgroup.com (JIRA)

unread,
Mar 5, 2018, 9:36:02 AM3/5/18
to jenkinsc...@googlegroups.com
Adam Zovits created an issue
 
Jenkins / Bug JENKINS-49921
Multiple cron entries for the same time result in all but one getting lost
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2018-03-05 14:35
Environment: OS: Windows Server 2012 R2, Java: 1.8.0_20, Jenkins ver. 2.73.3, Parameterized Trigger plugin 2.35.2,
Parameterized Scheduler 0.5
Labels: cron
Priority: Major Major
Reporter: Adam Zovits

When creating a schedule for the same job that consists of multiple simultaneous launches, only the first configuration entry will be executed, the rest skipped.

Example configuration, running every four hours on Saturdays and Sundays:

0 */4 * * 6-7 % environment=1
0 */4 * * 6-7 % environment=2
0 */4 * * 6-7 % environment=3

This results in only one started build for environment 1, and envs 2 and 3 are left without jobs.

Updating the configuration the following way offers a workaround:

0 */4 * * 6-7 % environment=1
5 */4 * * 6-7 % environment=2
10 */4 * * 6-7 % environment=3

But this should not be necessary.

The usage of H is avoided to have the jobs fit in their allocated time slots: all builds take about three and a half hours, so if H was used, a test scheduled for the 00:00-04:00 time window could start at 00:50 and so wouldn't fit in the allocated time window.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Mar 18, 2018, 5:48:03 PM3/18/18
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
Component/s: parameterized-scheduler-plugin
Component/s: core

dhruv.barochia34788@gmail.com (JIRA)

unread,
Sep 23, 2019, 3:18:02 AM9/23/19
to jenkinsc...@googlegroups.com
Dhruv Barochiya commented on Bug JENKINS-49921
 
Re: Multiple cron entries for the same time result in all but one getting lost

I am also facing the same issue , any updates on this ?

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages