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
Then nothing for a year and a half.
On Mar 25, 2013 10:22 PM, "Nathan Overbey" <over...@gmail.com> wrote:When you have to do it again in two days then again 4 days from then and again 2 days later then again one day after that and then 5 days later then nothing for a week and then again 3 days after that its repetitive. You feel me?
On Mar 25, 2013 10:15 PM, "Les Mikesell" <lesmi...@gmail.com> wrote:On Mon, Mar 25, 2013 at 9:01 PM, Nathan Overbey <over...@gmail.com> wrote:
> Think 2:00am deployments. I guess it could be manually disabled the next
> day (if one remembers). Doing stuff manually is not what jenkins is all
> about though. Its like asking why use jenkins and do all the repetitive
> tasks manually.
So you poll the scm at 2 am. And don't commit a change to the
branch it polls until you want it to do the job again. If it is
really a repetitive task. Scheduling something to happen once isn't
what I'd call repetitive.
--
Les Mikesell
lesmi...@gmail.com
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/LPXPx_ftQZ0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.