Why don't get swarm slaves persisted to the config.xml when calling Jenkins.instance.setNodes(Jenkins.instance.getNodes())?
After I start a swarm client I configure it (add tool locations) with a Groovy script (start & configure combined in one startup script). However when the slave goes offline, even for a moment (which seems to happen a lot, there are some open issues about swarm slaves disconnecting and reconnecting), all configuration is lost. So I thought to end my init script with Jenkins.instance.setNodes(Jenkins.instance.getNodes()) or Jenkins.instance.save(), but somehow the slaves aren't persisted. Why is that? How can I persist them? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
