Help rescue Jenkins in memory data to disk
| for (def u in User.byName.values()) { u.save() } | |
| for (def item in Jenkins.instance.allItems) { item.save() } | |
| for (def c in Jenkins.instance.computers) { if (!(c instanceof hudson.model.Hudson$MasterComputer)) c.getNode().save() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment