Here's one way: In the "Build Triggers" section, select "Trigger builds remotely". You can name the Authentication Token something like "ONE_TIME_BUILD". Jenkins will display a URL that you can call to trigger the build. Then, you can trigger the build in many different ways (cron job, script, SCM hook, etc.). If on unix, you should have the "wget" command. If on linux, try the "curl" command.
I have been using this method with a ClearCase UCM postop deliver_complete trigger that kicks off a dev build whenever someone completes a delivery. Works great. -Jeff Ng From: [email protected] [mailto:[email protected]] On Behalf Of Nathan Overbey Sent: Friday, March 22, 2013 11:03 AM To: [email protected] Subject: EXTERNAL: Any way to schedule a one time build? I know there's a cron type schedule with the option of "Build periodically". However, I am hoping there is a way to schedule a build to run only one time at a specified date/time. There is a button on the main page that is labeled "Schedule Build" however that seems to just kick off a immediate build. Anyone know of a existing plugin or a way to do this with Jenkins? -- 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.
