[JIRA] (JENKINS-42522) Metadata plugin deletes old data on startup

2017-03-20 Thread abrid...@blackberry.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tony Bridges assigned an issue to recampbell  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42522  
 
 
  Metadata plugin deletes old data on startup   
 

  
 
 
 
 

 
Change By: 
 Tony Bridges  
 
 
Assignee: 
 rsandell recampbell  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-42522) Metadata plugin deletes old data on startup

2017-03-20 Thread abrid...@blackberry.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tony Bridges commented on  JENKINS-42522  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Metadata plugin deletes old data on startup   
 

  
 
 
 
 

 
 I hit this issue during an upgrade.  To reproduce : 1. configure the use of a plugin in a job.  Call this CanaryPlugin 2. Verify the presence of the CanaryPlugin configuration in XML.  3. Delete the CanaryPlugin that added this data from the file system 4. Upgrade the metadata plugin. 5. Restart. On startup, the MD plugin upgrade causes the job configuration to be resaved, effectively deleting the configuration for the CanaryPlugin from all jobs.   I ran into this problem when attempting a manual sync of plugins between two systems.  The tool used to seed the plugins did not handle internally developed plugins, and the first attempt to restart the system after the upgrade caused the configuration for all internal plugins to be stripped. The expectation here was that the "missing plugin" error could be addressed post restart by restoring the missing plugins, and restarting again.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-42522) Metadata plugin deletes old data on startup

2017-03-20 Thread abrid...@blackberry.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tony Bridges reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42522  
 
 
  Metadata plugin deletes old data on startup   
 

  
 
 
 
 

 
Change By: 
 Tony Bridges  
 
 
Resolution: 
 Incomplete  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-42522) Metadata plugin deletes old data on startup

2017-03-20 Thread ryan.campb...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 recampbell closed an issue as Incomplete  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Please provide detailed steps to reproduce.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-42522  
 
 
  Metadata plugin deletes old data on startup   
 

  
 
 
 
 

 
Change By: 
 recampbell  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Incomplete  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-42522) Metadata plugin deletes old data on startup

2017-03-06 Thread schristo...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steven Christou created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42522  
 
 
  Metadata plugin deletes old data on startup   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 rsandell  
 
 
Components: 
 metadata-plugin  
 
 
Created: 
 2017/Mar/06 11:53 PM  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Steven Christou  
 

  
 
 
 
 

 
 The metadata plugin will delete old data content at the start of Jenkins. In order to re-build the metadata information the plugin triggers a save operation (https://github.com/jenkinsci/metadata-plugin/blob/master/src/main/java/com/sonyericsson/hudson/plugins/metadata/contributors/JobContributorsController.java#L89-L91) at the start of Jenkins for each job. Because of this save operation it will delete any old data and override it. There should be a way to trigger the rebuilding of metadata information without having to perform a save operation at the start of Jenkins.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment