Thanks for the tips. Just for a follow up if any one ever reads this, I have followed the advice as recommended by Jesse.
I made the objects I referred to above transient and we are now handling their load/save by ourselves. We are using XmlFile to do that. Thanks everyone. On Wednesday, March 25, 2020 at 5:41:57 AM UTC+2, Jesse Glick wrote: > > On Tue, Mar 24, 2020 at 1:21 PM Niv Keidan <[email protected] > <javascript:>> wrote: > > So first, we don't want all this redundant data to be saved (just flood > our cloud with transients is a valid solution...?? ) > > `transient` makes sense for most cases. > > > all the data that we DO want saved, when scaled up, can increase > config.xml size quite massively > > So this is some sort of cached metadata, rather than actual > configuration? You can store it elsewhere in `Jenkins.rootDir` however > you like. If you want to use the Jenkins style of persistence, you can > use `XmlFile`. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/30046282-4792-49a8-a912-2f874ac534fc%40googlegroups.com.
