Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.0.0
-
Severity 3 - Minor
-
Description
Summary
When using .scheduleEvery for a scheduled trigger in Bamboo specs, the cron expression generated is incorrect.
Steps to Reproduce
- Export a plan via Bamboo specs with the following scheduled trigger:
.triggers( new ScheduledTrigger() .description("Every 5 minutes") .scheduleEvery(5, TimeUnit.MINUTES) );
Expected Results
The plan triggers every 5 minutes.
Actual Results
The plan triggers every second.
Notes
The cron expression stored in Bamboo is: * 0/5 * ? * *
Workaround
Manually define the correct cron expression instead by using:
.triggers( new ScheduledTrigger() .description("Every 5 minutes") .cronExpression("0 0/5 * 1/1 * ? *") );
Attachments
Issue Links
- mentioned in
-
Page Loading...