Hey! I’m trying to offer my users an easy-to-use way of executing a Jenkins Pipeline at a specific date/time of their choosing.
Ideally, they would trigger a pipeline, input certain parameters including a date-time, and then automagically the pipeline would run at that time (days or even weeks after they set it)
For this, I though of creating a “wrapper” pipeline that schedules a second one, but I’m not finding a way to configure that schedule.
Using the “build periodically” option with a cron expression for a single day sounds like the obvious choice but the name of the feature itself hints at the first issue: I need a one-time execution, not a recurring one. It’s also not user friendly and users would need to go into the pipeline configuration to set it (I don’t think I could change it programmatically via jenkinsfiles?)
The Parameterized Scheduler Plugin suffers from pretty much the same issues.
I would obviously like to avoid weird hacky solutions like using Linux/Windows crontab/scheduler or a third pipeline that runs every minute looking at other pipelines to build…
is there really no built-in way to execute a pipeline at a specific date and time in the future?