Not sure if the plugin can do it. But I did the same by calling EC2 api's from batch/bash script section of the job.
Thanks On Sun, Dec 30, 2012 at 6:00 PM, james mintram <jamesmint...@gmail.com>wrote: > Hi All, > > I wondered if it were possible, or not then a trivial update to the EC2 > plugin to allow it to start/stop an instance that already exists. > > Currently I have 2 Windows instances, 1 which is 24x7 and is covered in > the free tier but its performance is lacking. The other is a High CPU > instance that compiles code very fast, however I do not want this running > 24x7 due to cost issues, so I have to manually start/stop it when I want to > run a large set of builds. > > If there was a way to automatically start and stop an existing instance > given its ID then it finish my CI configuration for now :) > > Regards, > James Mintram > -- http://wharpreet.blogspot.com http://linuxgazettes.blogspot.com http://in.linkedin.com/in/wharpreet