Re: revert to esx snapshot in build step

2012-11-09 Thread xterm
got it done finally just waiting to publish onto github On Thursday, October 18, 2012 9:45:15 AM UTC-5, xterm wrote: i am a first time poster and first time plugin creator. i am trying to create a plugin to revert an esx vm to a snapshot during the build step. I have everything working

Re: revert to esx snapshot in build step

2012-10-30 Thread xterm
thanks tom, but i think the problem is that i am not running launch synchronously and thats why jenkins/hudson still thinks the channel is open and then tries to close it. is there anyone out there that can point to an example that shows how to run launch synchronously? thanks, xterm On

revert to esx snapshot in build step

2012-10-18 Thread xterm
i am a first time poster and first time plugin creator. i am trying to create a plugin to revert an esx vm to a snapshot during the build step. I have everything working up to the point where i commit the launch but when i try and perform the 'setChannel' i get this: runtimeexception:

Re: revert to esx snapshot in build step

2012-10-18 Thread Phil Soliz
thanks tom, i am trying to complete this for my environment and to try and learn about the plugin structure. i feel that im very close and would just like to complete it. xterm On Thu, Oct 18, 2012 at 11:24 AM, Tom Rini tom.r...@gmail.com wrote: On Thu, Oct 18, 2012 at 07:45:15AM -0700, xterm

Re: revert to esx snapshot in build step

2012-10-18 Thread xterm
well, as i see it, this is what i believe to be the problem: 1. the jenkins server and target start off with a channel (connection) 2. the channel is disconnected using: 2a. beforeDisconnect 2b. disonnect 2c. afterDisconnect 3. the vm is reverted to desired snapshot 4. the vm is powered on 5.