I would recommend looking at the Saveable interface as it will persist the
state of the object to xml (see Saveable.save() javadoc
<http://javadoc.jenkins-ci.org/hudson/model/Saveable.html#save()> for more
information).




On July 25, 2016 at 1:40:42 PM, Minudika Malshan (minudika...@gmail.com)
wrote:

Hi all,

Could anyone please tell me how Jenkins save values which are given by
users within the Jenkins server. In above subjected implementation, I was
trying to write those values to a text file. But I think there should be a
better approach for this which is already being used.

Thank you!
Minudika

-- 
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-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALdkFWpSQ0nHwAv5iYP%2BACkde%2BjL0BqOgwN2vA7t%3DfbOE_PBJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to