@Blador That's what I have in mind also!! I would like to integrate this mechanism inside a Jenkins plugin. But basically, it would have the same process. Talking OOP, the config.xml will be my Class definition I just have to define a Config.xml instantiator ;)
I'll try to make a POC based on your point of view and I'll keep you inform of my progresses. Thank you guys!
