FLOW plugin deletes old data on startup

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical
    • Component/s: 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.

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

              Created:
              Updated: