[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread alexey.lar...@jeppesen.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexey Larsky commented on  JENKINS-25955 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 
 
Under "clean" i mean revert to snapshoot or permanent state. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread jswa...@alohaoi.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jason Swager commented on  JENKINS-25955 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 
 
From the perspective of a slave, there is no mechanism that can be used to "clean" a slave between runs of a job. The closest feature that the vSphere Plugin has is the ability to run a specific number of jobs, then revert the VM back to a snapshot. 
Because "clean" is ambiguous (remove files, directories, restore files to original state, stop services/processes, run database commands), this sort of logic in a slave plugin is probably not the right place for it. One possible solution: if you have a job that is supposed to run on the slave and needs to be cleaned up after, use either the PostBuild step to clean it up. Or move the cleanup logic to a separate job that gets run immediately after your own job. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread alexey.lar...@jeppesen.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexey Larsky assigned an issue to Jason Swager 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25955 
 
 
 
  Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Alexey Larsky 
 
 
 

Assignee:
 
 Jason Swager 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread alexey.lar...@jeppesen.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexey Larsky commented on  JENKINS-25955 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 
 
We need the following scenario: permanently online VM with web server which will be cleaned and updated to newest version before run tests. 
Now it is impossible to clean VM before run tests if VM already was powered on (without additional job). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread alexey.lar...@jeppesen.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexey Larsky updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25955 
 
 
 
  Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Alexey Larsky 
 
 
 

Summary:
 
 New buildstep : restart Restart (and clean)  Guest  before build 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [vsphere-cloud-plugin] (JENKINS-25955) Restart (and clean) Guest before build

2015-05-13 Thread alexey.lar...@jeppesen.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alexey Larsky updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-25955 
 
 
 
  Restart (and clean) Guest before build  
 
 
 
 
 
 
 
 
 

Change By:
 
 Alexey Larsky 
 
 
 

Priority:
 
 Minor Major 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.