Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42522

FLOW plugin deletes old data on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • flow-plugin
    • None

      The flow plugin at startup will delete all old data because it performs a save operation:

       

      "Jenkins initialization thread@2736" daemon prio=5 tid=0x27 nid=NA runnable
       java.lang.Thread.State: RUNNABLE
       at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
       at hudson.model.AbstractItem.save(AbstractItem.java:521)
       - locked <0x3690> (a hudson.model.FreeStyleProject)
       at hudson.model.Job.save(Job.java:180)
       at hudson.model.AbstractProject.save(AbstractProject.java:306)
       at hudson.model.Job.addProperty(Job.java:523)
       at hudson.model.AbstractProject.addProperty(AbstractProject.java:786)
       at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.addFlowProperty(FlowProjectListener.java:33)
       at org.jenkinsci.plugins.flow_plugin.FlowProjectListener.onLoaded(FlowProjectListener.java:17)
       at jenkins.model.Jenkins.<init>(Jenkins.java:857)
       at hudson.model.Hudson.<init>(Hudson.java:83)
       at hudson.model.Hudson.<init>(Hudson.java:79)
       at hudson.WebAppMain$3.run(WebAppMain.java:225)
      

       
      At startup a flow property is added to each job which triggers a save operation. This happens for any project. 

      On another note: I am unable to locate the source code for this plugin.

            Unassigned Unassigned
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: