Loading items from database instead of disk

15 views
Skip to first unread message

Surya Gaddipati

unread,
Jul 10, 2015, 5:28:02 PM7/10/15
to jenkin...@googlegroups.com
Hi All, 

I am trying to load an item from database instead of disk during my plugin's startup , but jenkins seems to assuming that everything is being loaded from the disk and removing my dynamically loaded items




Any advice as to how to deal with this or if even this is possible at all ?

Surya

Kohsuke Kawaguchi

unread,
Jul 10, 2015, 5:31:45 PM7/10/15
to jenkin...@googlegroups.com
Good point.

Maybe we can add a marker interface to indicate that an Item is not coming from disk?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/777f29a7-08d7-4cb9-ae7a-c5b39890bbb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kohsuke Kawaguchi

Surya Gaddipati

unread,
Jul 10, 2015, 8:00:38 PM7/10/15
to jenkin...@googlegroups.com
Hi Kohsuke, 

  Thank you for your quick response. I assume that code comes into action when user clicks 'sync from disk' ? 


and opened a PR with fix here : https://github.com/jenkinsci/jenkins/pull/1762
Reply all
Reply to author
Forward
0 new messages