In my builder class I have a Integer field, which will increase by 1 in the perform method. I tested it, this field did increase after each build as expected. However, after jenkins reboot, this field returned to its initial value, because its value is not changed in the job's config.xml. I don't know how jenkins remembered this field's last state when running(maybe in memory?).
My question is how can I persist the change in the job's config.xml? So that I'll not lose the change even after jenkins reboot?